[Devel] Re: [PATCH 3/9] network namespaces: playing and debugging

Kirill Korotaev dev at sw.ru
Thu Aug 17 01:30:27 PDT 2006


>>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
>>
>>Signed-off-by: Andrey Savochkin <saw at swsoft.com>
> 
> 
> NACK, new /proc interfaces are not acceptable.

As you can find from the comment this patch is just for playing
with network namespace.

Kirill




More information about the Devel mailing list