OpenVZ Forum


Home » Mailing lists » Devel » [PATCH 3/9] network namespaces: playing and debugging
Re: [PATCH 3/9] network namespaces: playing and debugging [message #5211 is a reply to message #5164] Wed, 16 August 2006 17:22 Go to previous messageGo to previous message
ebiederm is currently offline  ebiederm
Messages: 1354
Registered: February 2006
Senior Member
Stephen Hemminger <shemminger@osdl.org> writes:

> On Tue, 15 Aug 2006 18:48:43 +0400
> Andrey Savochkin <saw@sw.ru> 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
>>
>> Signed-off-by: Andrey Savochkin <saw@swsoft.com>
>
> NACK, new /proc interfaces are not acceptable.

The rule is that new /proc interfaces that are not process related
are not acceptable. If structured right a network namespace can
arguably be process related.

I do agree that this interface is pretty ugly there.

Eric
 
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: Sat Nov 01 04:56:02 GMT 2025

Total time taken to generate the page: 0.13335 seconds