SHARE
TWEET

Untitled

a guest May 22nd, 2018 66 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top