Owner's Manual
Configuring Your Network 11
3
In the
/etc/sysconfig/network-scripts/
directory, create or edit the
ifcfg-bond0
configuration file.
For example, using sample network parameters, the file appears as:
DEVICE=bond0
IPADDR=192.168.0.1
NETMASK=255.255.255.0
ONBOOT=yes
BONDING_OPTS="mode=6 miimon=100 max_bonds=2"
BOOTPROTO=none
DEVICE=bondn
is the name required for the bond, where
n
specifies the
bond number. IPADDR is the private IP address.
To use
bond0
as a virtual device, you must specify the devices that are
bonded as slaves.
4
For each device that is a bond member:
a
In the directory
/etc/sysconfig/network-scripts/
, edit the
ifcfg-ethn
file:
DEVICE=ethn
HWADDR=<MAC ADDRESS>
ONBOOT=yes
TYPE=Ethernet
MASTER=bond0
SLAVE=yes
b
Ty p e
service network restart
and ignore all warnings.
5
On
each node
, type
ifconfig
to verify that the private interface is
functioning.
The private IP address for the node must be assigned to the private
interface
bond0
.
6
After all the private IP addresses are set up on every node, ping each
IP address from one node to ensure that the private network
is functioning.
7
Connect to each node. Verify that the private network and the Secure
Shell (
ssh
) are functioning correctly by typing:
ssh <private IP>
Lnx_Stnwt.book Page 11 Wednesday, August 4, 2010 11:58 AM