LXC : Debian 11 Bullseye

Hi folks,

I try to setup a new container (lxc) base on Debian Bullseye but network stack is not working properly.
I’ve got the the following error :

[89246.380259] br-lan: port 7(vethTBVKVX) entered blocking state
[89246.386025] br-lan: port 7(vethTBVKVX) entered disabled state
[89246.391913] device vethTBVKVX entered promiscuous mode
[89246.398444] IPv6: ADDRCONF(NETDEV_UP): vethTBVKVX: link is not ready
[89246.404837] br-lan: port 7(vethTBVKVX) entered blocking state
[89246.410627] br-lan: port 7(vethTBVKVX) entered forwarding state
[89246.420020] br-lan: port 7(vethTBVKVX) entered disabled state
[89246.536930] br-lan: port 6(vethYQ96OU) entered disabled state
[89246.548865] device vethYQ96OU left promiscuous mode
[89246.553794] br-lan: port 6(vethYQ96OU) entered disabled state
[89246.872712] eth0: renamed from vethWORQED
[89246.916791] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[89246.924814] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[89246.931267] IPv6: ADDRCONF(NETDEV_CHANGE): vethTBVKVX: link becomes ready
[89246.938211] br-lan: port 7(vethTBVKVX) entered blocking state
[89246.943981] br-lan: port 7(vethTBVKVX) entered forwarding state
[89247.019772] cgroup: cgroup2: unknown option “memory_recursiveprot”

Back on buster, everything is fine.
Any idea ?

Try this network config:

# Network configuration
lxc.net.0.type = veth
lxc.net.0.link = br-lan
lxc.net.0.flags = up
lxc.net.0.name = eth0
lxc.net.0.ipv4.address = 192.168.a.b/24
lxc.net.0.ipv4.gateway = 192.168.a.b
lxc.net.0.hwaddr = 92:d7:d5:xx:yy:zz

Also, I have static IP in /etc/network/interfaces

1 Like

Which version of TOS you have? Debian 11 works well with my Omnia.

@viktor The last one TurrisOS 5.3.7, it woks also for me but only in IPV6 not V4
@Cabal Your workaround is working, this is strange because it choose another IP than the one in the config file. I do not have an IP in /etc/network/interfaces