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

2006-06-26 Thread Andrey Savochkin
On Mon, Jun 26, 2006 at 07:29:57PM +0200, Daniel Lezcano wrote: > >>>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 > >>>

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

2006-06-26 Thread Daniel Lezcano
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 Andrey, I began to play with your patchset. I am able to

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

2006-06-26 Thread Andrey Savochkin
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 examp

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

2006-06-26 Thread Daniel Lezcano
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.

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

2006-06-26 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