Advertisement
dkn

br0 on bond0

dkn
Jun 3rd, 2011
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.54 KB | None | 0 0
  1. #old config
  2.  
  3. #auto lo
  4. #iface lo inet loopback
  5.  
  6. #auto bond0
  7. #iface bond0 inet static
  8. # address 192.168.0.99
  9. # netmask 255.255.255.0
  10. # gateway 192.168.0.1
  11. # slaves eth0 eth1
  12.  
  13. ## new config
  14.  
  15. auto lo
  16. iface lo inet loopback
  17.  
  18. auto bond0
  19. iface bond0 inet manual
  20. slaves eth0 eth1
  21.  
  22. auto br0
  23. iface br0 inet static
  24. address 192.168.0.99
  25. network 192.168.0.0
  26. netmask 255.255.255.0
  27. broadcast 192.168.0.255
  28. gateway 192.168.0.1
  29. bridge_ports bond0
  30. bridge_fd 9
  31. bridge_hello 2
  32. bridge_maxage 12
  33. bridge_stp off
  34. pre-up if-up bond0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement