Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # ip netns add ns1
- # ip link add tap1 type veth peer name br-tap1
- # brctl addif br0 br-tap1
- # ip link set tap1 netns ns1
- # ip netns exec ns1 ip link set dev tap1 up
- # ip link set dev br-tap1 up
- # ip netns exec ns1 ip a a 10.10.0.5/24 dev tap1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement