[lxc-users] net_cls.classid in unprivileged container no effect
Serge Hallyn
serge.hallyn at ubuntu.com
Mon Jul 28 14:36:03 UTC 2014
Quoting Nguyễn Thành Long (longnt at viegrid.com):
> Problem 2:
>
> I configured network in container:
>
> *lxc.network.type = veth*
>
> *lxc.network.veth.pair = veth-c1*
>
> *lxc.network.name <http://lxc.network.name> = eth0*
>
> *lxc.network.flags = up*
>
> *lxc.network.link = lxcbr0*
>
> *lxc.network.hwaddr = 00:16:3e:67:4f:a5*
>
> but veth inteface don't rename at host ( veth-$random instead veth-c1)
It certainly does so for me (using the ppa). Note that unprivileged contaienrs
cannot choose a veth.pair name.
If you're using privileged containers, then please try the ppa version to see
if that fixes it, and also add "-l trace -o outout" to look for information on
why it's not being renamed.
> So lxc.network.veth.pair is not effect, or am I missing something ?
>
> Host Ubuntu 14.04 LTS, container Ubuntu 12.04 LTS
> Can someone help me ? Thanks in advance.
> _______________________________________________
> 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