[lxc-devel] lxc and network namespace
Stéphane Graber
stgraber at ubuntu.com
Tue Nov 12 20:22:10 UTC 2013
On Tue, Nov 12, 2013 at 12:11:19PM -0800, Arjun Sambamoorthy wrote:
> [Trying dev list as there was no response from user list]
>
> Hi,
>
> I am using lxc with a couple of veths on ubuntu. I'd like to know its
> network namespace name so that i can dynamically add/remove veths to the
> netns after the lxc is started. Could this be done in lxc? Also, executing
> "ip netns list" returns empty. Why would that be?
>
> Any insight or help would be great.
>
> Regards,
> Arjun
Network namespaces don't have name, ip netns simply symlinks the net
attach point (/proc/PID/ns/net) under /run/netns to give them names and
list them.
lxc-device already lets you move a network device inside the container.
Patches to also allow moving them out of the container are welcome.
--
Stéphane Graber
Ubuntu developer
http://www.ubuntu.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20131112/4e2761a3/attachment.pgp>
More information about the lxc-devel
mailing list