[Devel] Re: [patch 4/4] Network namespaces: playing and debugging

Andrey Savochkin saw at swsoft.com
Mon Jun 26 08:43:39 PDT 2006


On Mon, Jun 26, 2006 at 05:04:29PM +0200, Daniel Lezcano wrote:
> Andrey Savochkin wrote:
> > Temporary code to play with network namespaces in the simplest way.
> > Do
> > 	exec 7< /proc/net/net_ns
> > in your bash shell and you'll get a brand new network namespace.
> > There you can, for example, do
> > 	ip link set lo up
> > 	ip addr list
> > 	ip addr add 1.2.3.4 dev lo
> > 	ping -n 1.2.3.4
> > 
> 
> Is it possible to setup a network device to communicate with the outside ?

Such device was planned for the second patchset :)
I perhaps can send the patch tomorrow.

	Andrey




More information about the Devel mailing list