Advertisement
teknoraver

bridge_loop

Jan 5th, 2019
285
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.21 KB | None | 0 0
  1. #!/bin/sh
  2.  
  3. exec ip -b - <<-'EOF'
  4.     link add name br-loop type bridge
  5.     link add name veth-a type veth peer name veth-b
  6.     link set veth-a master br-loop up
  7.     link set veth-b master br-loop up
  8.     link set br-loop up
  9. EOF
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement