28
Figure 61 Configuring bond0
2.
Edit the configuration file for a slave interface. Execute the
vi
ifcfg
-
ethX
command and
add the following information to the configuration file:
ONBOOT=yes
MASTER=bond0
SLAVE=yes
For other slave interfaces to be added to bond0, repeat this step.
Figure 62 Editing the configuration file for a slave interface
3.
Execute the
service
network
restart
command to restart the network service and have
bond0 take effect.
Figure 63 Restarting the network service
4.
Execute the
cat
/
proc
/
net
/
bonding
/
bond0
command to view information about bond0
and network adapter. In this example, bond0 and the two slave interfaces are in all in
up
state.