How do I connect a veth device inside an 'anonymous' network namespace to one outside?

Published: 5/10/2017
How do I connect a veth device inside an 'anonymous' network namespace to one outside?
Source: UNIX.STACKEXCHANGE.COM

I have a process that has called unshare to create a new network namespace with just itself inside. When it calls execve to launch bash, the ip command shows that I have just an lo device. If I also create a user namespace so and arrange for my process to be root inside the namespace, I can use the ip command to bring that device up and it works. I can also use the ip command to create a veth devi

Read more
Related news
Comment