Advertisement
Guest User

Untitled

a guest
May 22nd, 2018
112
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.24 KB | None | 0 0
  1. # ip netns add ns1
  2. # ip link add tap1 type veth peer name br-tap1
  3. # brctl addif br0 br-tap1
  4. # ip link set tap1 netns ns1
  5. # ip netns exec ns1 ip link set dev tap1 up
  6. # ip link set dev br-tap1 up
  7. # ip netns exec ns1 ip a a 10.10.0.5/24 dev tap1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement