NIC bonding in suse

This entry was posted in Unix and tagged on June 17, 2012, by

Following is the procedure to do NIC bonding in SUSE LINUX.

1. Create a bonding file, ifcfg-bond0

# cd /etc/sysconfig/network
# vi ifcfg-bond0

DEVICE=bond0
IPADDR=192.168.XXX.XXX
NETMASK=255.255.255.0
NETWORK=192.168.9.X
BROADCAST=192.168.9.255
STARTMODE=onboot
BOOTPROTO=static
BONDING_MASTER=yes
BONDING_MODULE_OPTS=’mode=1 miimon=100
/ use_carrier=0′
BONDING_SLAVE0=eth0
BONDING_SLAVE1=eth1

Save and quit

2. Now create eth0 and eth1 NIC interface file

# cd /etc/sysconfig/network

# vi ifcfg-eth0

DEVICE=eth0
STARTMODE=none
BOOTPROTO=static
MASTER=bond0
SLAVE=yes
USERCTL=no

Save and quit.

# vi ifcfg-eth1

DEVICE=eth1
STARTMODE=none
BOOTPROTO=static
MASTER=bond0
SLAVE=yes
USERCTL=no

Save and quit.

3. Add bonding alias to the modules.conf file

# vi /etc/modules.conf

alias bond0 bonding
options bond0 miimon=100 mode=1

Save and quit

4. Start the network services

# /etc/init.d/network restart

Leave a Reply

Your email address will not be published. Required fields are marked *

Copyright 2017 ©Aceadmins. All rights reserved.