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>
 

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!