[lxc-users] Create bridge between LXC Container and Ethernet device

Serge E. Hallyn serge at hallyn.com
Sat Jan 2 15:09:17 UTC 2021


Right, eth0:0 is just an alias so enslaving eth0:0 will actually enslave eth0.
You're probably better off just using iptables.

On Fri, Jan 01, 2021 at 08:57:00PM +0100, Patrick wrote:
> Hi,
> 
> I'm trying to create a bridge device between my LXC Container and my Ethernet Device, which has 2 public IPs. The bridge device creation fails, as you can see here: https://paste.debian.net/hidden/c81c8832/. I want to bridge the LXC Container with the secondary IP address of the Ethernet interface. Does somebody has an idea how to do that?
> 
> Best Regards,
> Patrick
> _______________________________________________
> lxc-users mailing list
> lxc-users at lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-users


More information about the lxc-users mailing list