On Tue, 15 Oct 2019 09:33:24 +0200
Nicolas Dichtel wrote:
> Le 14/10/2019 à 22:15, Stephen Hemminger a écrit :
> > On Mon, 7 Oct 2019 15:44:47 +0200
> > Nicolas Dichtel wrote:
> >
> >> This patch enables to dump/get nsid from a netns into another netns.
> >>
> >> Example:
> >> $ ./test.sh
>
Le 14/10/2019 à 22:15, Stephen Hemminger a écrit :
> On Mon, 7 Oct 2019 15:44:47 +0200
> Nicolas Dichtel wrote:
>
>> This patch enables to dump/get nsid from a netns into another netns.
>>
>> Example:
>> $ ./test.sh
>> + ip netns add foo
>> + ip netns add bar
>> + touch /var/run/netns/init_net
>
On Mon, 7 Oct 2019 15:44:47 +0200
Nicolas Dichtel wrote:
> This patch enables to dump/get nsid from a netns into another netns.
>
> Example:
> $ ./test.sh
> + ip netns add foo
> + ip netns add bar
> + touch /var/run/netns/init_net
> + mount --bind /proc/1/ns/net /var/run/netns/init_net
> + ip n
Nicolas Dichtel píše v Po 07. 10. 2019 v 15:44 +0200:
> This patch enables to dump/get nsid from a netns into another netns.
>
> Example:
> $ ./test.sh
> + ip netns add foo
> + ip netns add bar
> + touch /var/run/netns/init_net
> + mount --bind /proc/1/ns/net /var/run/netns/init_net
> + ip netns s
This patch enables to dump/get nsid from a netns into another netns.
Example:
$ ./test.sh
+ ip netns add foo
+ ip netns add bar
+ touch /var/run/netns/init_net
+ mount --bind /proc/1/ns/net /var/run/netns/init_net
+ ip netns set init_net 11
+ ip netns set foo 12
+ ip netns set bar 13
+ ip netns
in