Containers using Ubuntu18.04 networking not working

joeleo

Active Member
Apr 24, 2009
51
1
26
I'm running proxmox 6.1-3 and when I create a container using template ubuntu 18.04 networking don't seem to work outside of the local network. I can ping the gateway BUT can't ping nothing from outside like google dns 8.8.8.8... It seems weird as I have some other vms with same template and it works. When I install template ubuntu 16.04 it works with out having to do any manual configuration.

Should networking works out the box after doing a container install? Is some manual configuration required? If so, please share what? Thanks in advance for your feedback!
 
Hi,

I can ping the gateway BUT can't ping nothing from outside like google dns 8.8.8.8...

Check /etc/resolv.conf maybe you get hint and try to use command dhclient


and please post config for the LXC if not work pct config <VMID>