[lxc-users] Determine which vethXXX interface is connected to particular LXC container
Luis Michael Ibarra
michael.ibarra at gmail.com
Tue Feb 9 01:02:42 UTC 2016
Hi,
In /var/lib/lxc/[container]/config, use lxc.network.veth.pair = [name] to
assign a particular name for a veth.
Regards,
2016-02-08 19:36 GMT-05:00 tapczan <tapczan at unx.pl>:
> Hello
>
> Is there any way to determine which vethXXX interface is connected to
> a particular running LXC container?
>
> Or even more precisely, which vethXXX interface is connected to a
> particular interface inside LXC container, eg.:
>
> vethL6OCF0 <-> container1: eth0
> vethGMSWTE <-> container1: eth1
> vethMEG0ME <-> container2: eth0
>
> Is it possible to get that kind of information?
>
> Thanks.
>
> --
> Best Regards
> Robert J. (tapczan)
> _______________________________________________
> lxc-users mailing list
> lxc-users at lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-users
--
Luis Michael Ibarra
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20160208/9a76fe9e/attachment.html>
More information about the lxc-users
mailing list