On 07.03.2017 17:11, Fajar A. Nugraha wrote: > On Tue, Mar 7, 2017 at 10:32 PM, Spike <sp...@drba.org> wrote: > >> Dear all, >> >> I'm using bridged mode for networking and would love to be able to tell >> which veth is which on the host by using more meaningful names. This would >> also very useful for monitoring and debugging. >> >> I found some docs suggesting that it can be done, but only for privileged >> containers. Is that the case? Is it not possible at all for unprivileged >> ones? >> >> > Short version: use lxd, set 'host_name' on the container interface config. > > You could probably do the same for root-owned, unpriv plain-lxc containers > (haven't test this though).
And in terms of LXC, use the lxc.network.veth.pair config parameter. _______________________________________________ lxc-users mailing list lxc-users@lists.linuxcontainers.org http://lists.linuxcontainers.org/listinfo/lxc-users