...
http://manpages.ubuntu.com/manpages/hirsute/man8/ip-netns.8.html
List | Isolate the network configuration |
---|---|
list | ip netns list |
Create | Creating 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> | |
ip link set eth1 netns ns1
...