Not sure how to configure networking for LXC containers

Queless

New Member
Nov 13, 2015
23
1
3
Hello, I'm not sure how to configure networking for LXC containers. I've played around with it for about an hour but I can't seem to figure them out.


/etc/network/interfaces from the host
 

Attachments

  • etcnetworkinterfaces.png
    etcnetworkinterfaces.png
    56.9 KB · Views: 12
Proxmox GUI for network is not in the same format as the network/interfaces file so the settings seem a bit off:
  • defining an IP/32 makes no sense, should be in CIDR format
  • gateway looks like a netmask
 
I'm so glad I decided to ask someone competent! The problem was the netmask, thanks.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!