[TriLUG] Interface "Bonding"

Magnus Hedemark chrish at trilug.org
Wed Feb 18 12:14:45 EST 2004


On Wed, 18 Feb 2004 wayne at wh175.com wrote:

> Is it possible in Linux to bond to physical network adapters together, and have them share one IP address?
>  
> We are moving from a win2k server where this was a possibility and used for failover.

Yes, absolutely.

The module name is "bonding".  Works well with static IP's.  Doesn't work 
(for me anyway) with DHCP client.

Here is an example config from my server:

###/etc/modules.conf###
alias eth0 e100
alias eth1 e100
alias eth2 e100
alias eth3 e100
alias bond0 bonding
options e100 e100_speed_duplex=4
#######################

###/etc/sysconfig/network-scripts/ifcfg-bond0###
DEVICE=bond0
BOOTPROTO=no
ONBOOT=yes
IPADDR=192.168.1.100
NETMASK=255.255.255.0
NETWORK=192.168.1.0
BROADCAST=192.169.1.255
################################################

###/etc/sysconfig/network-scripts/ifcfg-eth0###
DEVICE=eth0
BOOTPROTO=no
ONBOOT=yes
SLAVE=yes
MASTER=bond0
###############################################

Duplicate the eth0 configuration and modify to suit each of your other 
eth* devices.




More information about the TriLUG mailing list