[lxc-users] Setting lxc.network.veth.pair

Andrey Repin anrdaemon at yandex.ru
Sun Aug 30 23:37:27 UTC 2015


Greetings, Peter Steele!

> I want to pick my own naming convention for the veth interfaces created 
> by LXC rather than using the auto-generated names. I tried adding the entry

> lxc.network.veth.pair = veth0

> in one of my privileged containers but it still get a random name of 
> 'veth6HIE0A' instead of eth0. Am I mistaken as to how this is supposed 
> to work. Ideally I would like to see something like 
> 'veth0-<container-name>' but 'vethN' when N either is assigned 
> automatically when containers are started or alternatively where I set N 
> myself in the container's config. What's possible and what's not?

Please start from the beginning.
What network topology you want for your containers, and what specific features
you need from VETH interface, that other networking modes do not offer?


-- 
With best regards,
Andrey Repin
Monday, August 31, 2015 02:35:26

Sorry for my terrible english...



More information about the lxc-users mailing list