Skip to content Skip to sidebar Skip to footer

Bond, High Availability Network Server on Ubuntu 7.10

High network availability is vital for any self-respecting corporate server. Some time ago it came as sometimes seen as a taboo, due to some complexities regarding its installation and configuration on Linux, but today it is seen as just another item to be seen.

Although Ubuntu does not bring any assistant or other graphical tool to allow such service, the setup is extremely simple.

In the example, I'm working on common DELL PowerEdge 2950 server with two plates Broadcom Corporation NetXtreme II BCM5708 Gigabit Ethernet, seen as eth0 and eth1. The distribution is Ubuntu Server 7.10.

The first step is to insert the Ubuntu 7.10 CD in the CD and run the following command:
# Aptitude install ifenslave-2.6

Once that's done you need to edit the file / etc/modprobe.d/arch/i386 by inserting the following lines:
alias bond0 bonding 
options bond0 mode = 6 = 100 miimon

Where miimon will be the time in milliseconds, mode will be the way it is done the bond, which can be:

Mode 0: balance-rr
mode 1: Failover
Mode 2: balance-xor
Mode 3: Link Aggregation
Mode 4: Transmit Load Balance
Mode 5: Load Balance

Also in options you can enter the option primary = eth0 or eth1 = primary , so choose which interface will be the primary, of course depending on the chosen mode.

Then you must edit the file / etc / network / interfaces , commenting on all lines except the lines of:
it auto eth0 eth1 
inet loopback iface it

For then the same file, include:
self bon0 
iface bond0 inet static 
address 10.1.162.6 
netmask 
255.255.240.0 
gateway 10.1.160.1 up / sbin / ifenslave bond0 eth0 eth1 down / sbin / ifenslave-d bond0 eth0 eth1

Once that's done you should reboot your system to verify everything as planned.

Post a Comment for "Bond, High Availability Network Server on Ubuntu 7.10"