New Containers Failing to get DHCP/DNS
stemcc opened this issue · 1 comments
I'm using Fedora KDE 33. Using default settings and LXD created lxdbr0, I'm only able to ping ipv6 outside the container, receiving no ipv4 DHCP inside the container.
I've turned off the host dnsmasq and ran lxd init again to see if that would help, and no dice.
Inside an Ubuntu container, I'm able to use Netplan to turn off DHCP v4 and set a static ipv4 and using the lxd bridge as default gateway. This then allows me to ping out to ipv4 addresses, but still completely failing DNS resolution. Setting nameservers in Netplan doesn't help, and I can't download NetworkManager to manage DNS resolution because DNS resolution isn't working.
Chaging resolvconf nameserves / setting Iptables to allow all traffic in and out doesn't seem to help.
Same issue also inside happening in Fedora/33 containers.
I'm using latest copr lx4 builds as of 3/18/21.
Turns out to have been an issue with Firewalld on the Fedora host. Clossing this for now.