OpenVZ Forum


Home » Mailing lists » Devel » [PATCH 3/9] network namespaces: playing and debugging
Re: [PATCH 3/9] network namespaces: playing and debugging [message #5260 is a reply to message #5230] Thu, 17 August 2006 08:29 Go to previous message
dev is currently offline  dev
Messages: 1693
Registered: September 2005
Location: Moscow
Senior Member

>>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@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
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: [Lxc-devel] Q: Do systems using containers user more process ids?
Next Topic: Re: [ckrm-tech] [RFC][PATCH 5/7] UBC: kernel memory accounting (core)
Goto Forum:
  


Current Time: Tue Sep 17 19:35:13 GMT 2024

Total time taken to generate the page: 0.05349 seconds