Advertisement
mariussm

Bonding Debian 6

Jun 25th, 2011
513
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.50 KB | None | 0 0
  1. # The loopback network interface
  2. auto lo
  3. iface lo inet loopback
  4.  
  5. # The primary network interface
  6. allow-hotplug eth0
  7. allow-hotplug eth1
  8. allow-hotplug bond0
  9.  
  10. iface bond0 inet static
  11.     address 10.0.0.102
  12.     netmask 255.255.255.0
  13.     network 10.0.0.0
  14.     broadcast 10.0.0.255
  15.     gateway 10.0.0.1
  16.     # dns-* options are implemented by the resolvconf package, if installed
  17.     dns-nameservers 8.8.8.8 8.8.4.4
  18.     dns-search example.com
  19.  
  20.     up /sbin/ifenslave bond0 eth0 eth1
  21.     down /sbin/ifenslave -d bond0 eth0 eth1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement