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.