BlahBlah
22nd August 2007, 18:42
I have been trying to setup network card bonding on my CentOS server, and I must be missing something, because I cannot get it to work... At all.
My server has two onboard 10/100/1000bT NICs, but I'd like to take advantage of some fault tolerance and redundancy because this server will eventually be colocated a few hundred miles away from me.
The machine is freshly installed and my NIC configurations look like this:
/etc/modprobe.confalias eth0 e1000
alias eth1 e1000
alias scsi_hostadapter mptbase
alias scsi_hostadapter1 mptsas
alias scsi_hostadapter2 usb-storage
/etc/sysconfig/network-scripts/ifcfg-eth0# Intel Corporation 82573E Gigabit Ethernet Controller (Copper)
DEVICE=eth0
BOOTPROTO=static
BROADCAST=24.123.xxx.xx7
HWADDR=00:30:48:8C:2A:1E
IPADDR=24.123.xxx.xx5
IPV6ADDR=
IPV6PREFIX=
NETMASK=255.255.255.248
NETWORK=24.123.xxx.xx0
ONBOOT=yes
/etc/sysconfig/network-scripts/ifcfg-eth1# Intel Corporation 82573L Gigabit Ethernet Controller
DEVICE=eth1
BOOTPROTO=dhcp
HWADDR=00:30:48:8C:2A:1F
ONBOOT=no
DHCP_HOSTNAME=host.mydomainname.comSo what files do I need to create and edit to get my network bonding going (I'd like to run in mode 5 or 6)? How should the files look when I'm done?
My server has two onboard 10/100/1000bT NICs, but I'd like to take advantage of some fault tolerance and redundancy because this server will eventually be colocated a few hundred miles away from me.
The machine is freshly installed and my NIC configurations look like this:
/etc/modprobe.confalias eth0 e1000
alias eth1 e1000
alias scsi_hostadapter mptbase
alias scsi_hostadapter1 mptsas
alias scsi_hostadapter2 usb-storage
/etc/sysconfig/network-scripts/ifcfg-eth0# Intel Corporation 82573E Gigabit Ethernet Controller (Copper)
DEVICE=eth0
BOOTPROTO=static
BROADCAST=24.123.xxx.xx7
HWADDR=00:30:48:8C:2A:1E
IPADDR=24.123.xxx.xx5
IPV6ADDR=
IPV6PREFIX=
NETMASK=255.255.255.248
NETWORK=24.123.xxx.xx0
ONBOOT=yes
/etc/sysconfig/network-scripts/ifcfg-eth1# Intel Corporation 82573L Gigabit Ethernet Controller
DEVICE=eth1
BOOTPROTO=dhcp
HWADDR=00:30:48:8C:2A:1F
ONBOOT=no
DHCP_HOSTNAME=host.mydomainname.comSo what files do I need to create and edit to get my network bonding going (I'd like to run in mode 5 or 6)? How should the files look when I'm done?