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

2006-08-17 Thread Kirill Korotaev
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

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

2006-08-16 Thread Andrey Savochkin
On Wed, Aug 16, 2006 at 11:22:28AM -0600, Eric W. Biederman wrote: > Stephen Hemminger <[EMAIL PROTECTED]> writes: > > > On Tue, 15 Aug 2006 18:48:43 +0400 > > Andrey Savochkin <[EMAIL PROTECTED]> wrote: > > > >> Temporary code to play with network namespaces in the simplest way. > >> Do > >>

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

2006-08-16 Thread Eric W. Biederman
Stephen Hemminger <[EMAIL PROTECTED]> writes: > On Tue, 15 Aug 2006 18:48:43 +0400 > Andrey Savochkin <[EMAIL PROTECTED]> 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 netwo

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

2006-08-16 Thread Stephen Hemminger
On Tue, 15 Aug 2006 18:48:43 +0400 Andrey Savochkin <[EMAIL PROTECTED]> 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 >

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

2006-08-16 Thread Andrey Savochkin
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