Create A Bonded Interface On SLES 9
Novell Cool Solutions: Trench
Reader Rating
from 3 ratings
|
Digg This -
Slashdot This
Posted: 3 May 2005 |
The following tip was found on the SUSE Linux Enterprise Server (SLES) Support Forum. The forums can be accessed at support.novell.com/forums.
The following text demonstrates how to create a bonded interface using two network cards in SLES9.
I used YaST to set both NIC's to dhcp to set up cfg files with the info that we need.
/etc/sysconfig/network/ifcfg-eth-id-00:02:55:c7:ec:5a BOOTPROTO='none' STARTMODE='off' UNIQUE='_Znp.FLv3pKwRgD1' _nm_name='bus-pci-0000:00:01.0' /etc/sysconfig/network/ifcfg-eth-id-00:02:55:c7:ec:7e BOOTPROTO='none' STARTMODE='off' UNIQUE='bSAa.FLv3pKwRgD1' _nm_name='bus-pci-0000:00:0c.0'
and then created /etc/sysconfig/network/ifcfg-bond0
BOOTPROTO='static' BROADCAST='192.168.0.255' IPADDR='192.168.0.100' MTU='' NETMASK='255.255.255.0' NETWORK='192.168.0.0' REMOTE_IPADDR='' STARTMODE='onboot' BONDING_MASTER='yes' DONDIN_MODULE_OPTS='' BONDING_SLAVE0='bus-pci-0000:00:01.0' BONDING_SLAVE1='bus-pci-0000:00:0c.0'
rcnetwork start
and ifconfig shows a bonded pair...?
Reader Comments
- I made my files just like the ones seen here, and I had it running in less than 3 minutes. SWEET!
- Beware of cut-n-paste. If you want to pass options to the bonding module (mode, miimon, etc), make sure you change: DONDIN_MODULE_OPTS='' to BONDING_MODULE_OPTS=
Novell Cool Solutions (corporate web communities) are produced by WebWise Solutions. www.webwiseone.com
