Novell Home

Create A Bonded Interface On SLES 9

Novell Cool Solutions: Trench

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...?


Novell Cool Solutions (corporate web communities) are produced by WebWise Solutions. www.webwiseone.com

© 2014 Novell