红联Linux门户
Linux帮助

Create A Bonded Interface On SLES 9

发布时间:2008-01-16 00:40:44来源:红联作者:qtsmy
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 restart
文章评论

共有 0 条评论