Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

http://manpages.ubuntu.com/manpages/hirsute/man8/ip-netns.8.html



lsnslist name space

lsns --type=net
ListIsolate the network  configuration
listip netns list
CreateCreating namespaces and devices

ip netns add ns_red
ip netns add ns_blue
ip tuntap add name tap_red mode tap
ip tuntap add name tap_blue mode tap

Assigning devices to namespaces

ip link set <tap_red> netns <ns_red>
ip link set <tap_blue> netns <ns_blue>




...