OpenVZ Forum


Home » Mailing lists » Devel » [patch 4/4] Network namespaces: playing and debugging
Re: [patch 4/4] Network namespaces: playing and debugging [message #3999 is a reply to message #3968] Mon, 26 June 2006 15:04 Go to previous messageGo to previous message
Daniel Lezcano is currently offline  Daniel Lezcano
Messages: 417
Registered: June 2006
Senior Member
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.4 dev lo
> ping -n 1.2.3.4
>

Is it possible to setup a network device to communicate with the outside ?
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: [patch 2/6] [Network namespace] Network device sharing by view
Next Topic: Re: [patch 2/6] [Network namespace] Network device sharing by view
Goto Forum:
  


Current Time: Mon Sep 01 18:21:54 GMT 2025

Total time taken to generate the page: 0.06071 seconds