Hi, On 12-04-2022 17:40, Santiago Ruano Rincón wrote:
Could you run rather `lxc-ls -f` (to include IP addresses information)root@unmatched:~# lxc-ls -f NAME STATE AUTOSTART GROUPS IPV4 IPV6 UNPRIVILEGED autopkgtest-unstable-riscv64 STOPPED 0 - - - falseThe container wasn't running.
Hmm, rather stupid of me. root@unmatched:~# lxc-start -n autopkgtest-unstable-riscv64 root@unmatched:~# lxc-ls -fNAME STATE AUTOSTART GROUPS IPV4 IPV6 UNPRIVILEGED
autopkgtest-unstable-riscv64 RUNNING 0 - - - false
root@unmatched:~# grep net /var/lib/lxc/autopkgtest-unstable-riscv64/config lxc.net.0.type = veth lxc.net.0.link = lxcbr0 lxc.net.0.flags = up lxc.net.0.hwaddr = 00:16:3e:00:00:00* Just to be sure, could you verify the lxc bridge in the host machine is called lxcbr0?
root@unmatched:~# ifconfig lxcbr0 lxcbr0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 inet 10.0.3.1 netmask 255.255.255.0 broadcast 10.0.3.255 inet6 fe80::216:3eff:fe00:0 prefixlen 64 scopeid 0x20<link> ether 00:16:3e:00:00:00 txqueuelen 1000 (Ethernet) RX packets 16 bytes 3828 (3.7 KiB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 58 bytes 6160 (6.0 KiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
In the container: * What are the contents of /etc/network/interfaces
root@autopkgtest-unstable-riscv64:~# cat /etc/network/interfaces auto lo iface lo inet loopback auto eth0 iface eth0 inet dhcp source-directory /etc/network/interfaces.d root@autopkgtest-unstable-riscv64:~# ls -al /etc/network/interfaces.d/ total 8 drwxr-xr-x 2 root root 4096 Jan 19 19:55 . drwxr-xr-x 7 root root 4096 Apr 6 2022 ..
* is ifupdown installed?
root@autopkgtest-unstable-riscv64:~# dpkg --status ifupdown Package: ifupdown Status: install ok installed Paul
Attachment:
OpenPGP_signature
Description: OpenPGP digital signature