Hello. I have a new install of Proxmox and a new LXC container (Ubuntu 18.04). I have updates the host however with apt.
If I configure the container to use DHCP I can access the internet and my home network from inside the LXC container.
If I configure the container for static ip then I can't access the internet anymore.
Host has internet access all the time.
Doesn't seem to be a DNS issue more of a routing issue as even pinging googles ip will return a failure.
Examples
PING google.com (216.58.193.142) 56(84) bytes of data.
From ffffff.local (10.0.1.7) icmp_seq=1 Destination Host Unreachable
From ffffff.local (10.0.1.7) icmp_seq=2 Destination Host Unreachable
From ffffff.local (10.0.1.7) icmp_seq=3 Destination Host Unreachable
root@ffffff:~# ping 216.58.193.142
PING 216.58.193.142 (216.58.193.142) 56(84) bytes of data.
From 10.0.1.7 icmp_seq=1 Destination Host Unreachable
From 10.0.1.7 icmp_seq=2 Destination Host Unreachable
From 10.0.1.7 icmp_seq=3 Destination Host Unreachable
If I configure the container to use DHCP I can access the internet and my home network from inside the LXC container.
If I configure the container for static ip then I can't access the internet anymore.
Host has internet access all the time.
Doesn't seem to be a DNS issue more of a routing issue as even pinging googles ip will return a failure.
Examples
PING google.com (216.58.193.142) 56(84) bytes of data.
From ffffff.local (10.0.1.7) icmp_seq=1 Destination Host Unreachable
From ffffff.local (10.0.1.7) icmp_seq=2 Destination Host Unreachable
From ffffff.local (10.0.1.7) icmp_seq=3 Destination Host Unreachable
root@ffffff:~# ping 216.58.193.142
PING 216.58.193.142 (216.58.193.142) 56(84) bytes of data.
From 10.0.1.7 icmp_seq=1 Destination Host Unreachable
From 10.0.1.7 icmp_seq=2 Destination Host Unreachable
From 10.0.1.7 icmp_seq=3 Destination Host Unreachable