Guest User

Untitled

a guest
Oct 24th, 2017
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.43 KB | None | 0 0
  1. sudo apt-get update
  2. sudo apt-get -y install bridge-utils nload
  3.  
  4. # Get a list of all experiment interfaces
  5. ifs=$(netstat -i | tail -n+3 | grep -Ev "lo|eth0" | cut -d' ' -f1 | tr '\n' ' ')
  6.  
  7. sudo brctl addbr br0
  8.  
  9. # Flush IP address, cycle interface
  10. for i in $ifs; do
  11. sudo ip addr flush dev $if
  12. sudo ifconfig $i down
  13. sudo ifconfig $i up
  14. sudo brctl addif br0 $i
  15. done
  16.  
  17. sudo sysctl -w net.ipv6.conf.all.disable_ipv6=1
  18.  
  19. sudo ifconfig br0 up
Add Comment
Please, Sign In to add comment