Hello colleagues,
I am running a fresh install of Ubuntu 22.04, installed lxd via snap install lxd
(lxc version 5.3), did the setup process as I’ve done it many times before (lxdbr0 defaults, only using IPv4).
When starting a default container image, for instance via lxc launch ubuntu:16.04 test
, that container starts up and is acquiring an IPv4 address. But from inside the container it is impossible to reach the internet. I cannot even ping
or use nslookup
.
Did anything change in the default networking setup?
To me, nothing looks suspicious or different from previous lxd deployments:
$ lxc network list
+-----------+----------+---------+--------------+------+-------------+---------+---------+
| NAME | TYPE | MANAGED | IPV4 | IPV6 | DESCRIPTION | USED BY | STATE |
+-----------+----------+---------+--------------+------+-------------+---------+---------+
| docker0 | bridge | NO | | | | 0 | |
+-----------+----------+---------+--------------+------+-------------+---------+---------+
| lxdbr0 | bridge | YES | 10.9.81.1/24 | none | | 2 | CREATED |
+-----------+----------+---------+--------------+------+-------------+---------+---------+
| wlp0s20f3 | physical | NO | | | | 0 | |
+-----------+----------+---------+--------------+------+-------------+---------+---------+