[lxc-users] How are network interfaces implemented in LXC?

Serge Hallyn serge.hallyn at ubuntu.com
Sun Feb 1 07:26:03 UTC 2015


Quoting Anjali Kulkarni (anjali at juniper.net):
> Since there is no real device emulation, I am wondering how network

You can pass in real or fake nics, including eth0, macvlan, or veth
devices.  veth devices are a tunnel device exactly for this use case.
When you create a veth you get two endpoints.  One goes into the
container, the other goes onto the bridge in another namespace.  Packets
go in one end and out the other.

veths can be attached to an ovs bridge.


More information about the lxc-users mailing list