[lxc-devel] external name of veth-interface

mjt at tls.msk.ru mjt at tls.msk.ru
Wed May 4 11:07:33 UTC 2011


04.05.2011 14:59, Jäkel, Guido wrote:
> Hi,
> 
> is there a possibility to let LXC have control over the external naming of the veth-Device to replace  veth<random>  by something related to a concrete container? E.g. a name assigned by the containers configuration, the container name itself or at least (maybe as a default) the pid of the lxc-init process.
> 
> A unique fixed name would make some things easyer to implement on the host, e.g. traffic accounting.

The name of the host-side veth device is specified in lxc.network.veth.pair parameter.

/mjt




More information about the lxc-devel mailing list