Without any introduction, read on :)
Write to /etc/sysconfig/network-scripts/ifcfg-bond0 the following:
DEVICE=bond0
BOOTPROTO=none
ONBOOT=yes
NETWORK=
NETMASK=255.255.255.0
IPADDR=10.10.0.13
GATEWAY=10.10.0.1
USERCTL=yes
Write to /etc/sysconfig/network-scripts/ifcfg-ethX, where X is equal with each interface you want to include in this configuration (e.g. eth0 and eth3):
DEVICE=ethX
USERCTL=no
ONBOOT=yes
MASTER=bond0
SLAVE=yes
BOOTPROTO=none
Enable the device in kernel
# modprobe bond0
# service network restart- Log in to post comments
- 16660 views