Network interface bonding
Bonding is a way for a linux server with 2 network cards to share a virtual interface which represents both real interfaces. I'm not sure if you get a boost in throughput or if it is only failover. On a redhat ES4 server, all I did was edit these files and reboot (the modules were alredy loadable by the kernel):
modprobe.conf
ifcfg-eth0
ifcfg-eth1
ifcfg-bond0 (I made this one, as per instructions)
Snipits (all you need to add before rebooting):
From - modprobe.conf ->
###BEGIN AJEET'S BONDING
probeall bond0 eth0 eth1 bonding
alias bond0 bonding
options bonding miimon=100 mode=1
###END AJEET'S BONDING
From -> ifcfg-eth0
DEVICE=eth0
USERCTL=no
ONBOOT=yes
MASTER=bond0
SLAVE=yes
BOOTPROTO=none
From -> ifcfg-eth1
DEVICE=eth1
USERCTL=no
ONBOOT=yes
MASTER=bond0
SLAVE=yes
BOOTPROTO=none
From -> ifcfg-bond0
DEVICE=bond0
USERCTL=no
ONBOOT=yes
NETMASK=255.255.254.0
BROADCAST=10.200.58.255
GATEWAY=10.200.58.1
IPADDR=10.200.58.21
Tuesday, June 24, 2008
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment