Professional Documents
Culture Documents
Bonding in Linux
Bonding in Linux
Bonding in Linux
• vi /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0
BOOTPROTO=none
HWADDR=00:15:17:87:D4:A8
ONBOOT=yes
TYPE=Ethernet
USERCTL=no
MASTER=bond0
SLAVE=yes
• vi /etc/sysconfig/network-scripts/ifcfg-eth1
DEVICE=eth1
BOOTPROTO=none
HWADDR=00:15:17:87:D4:A9
ONBOOT=yes
TYPE=Ethernet
USERCTL=no
MASTER=bond0
SLAVE=yes
DEVICE=bond0
ONBOOT=yes
IPADDR=172.16.1.5
NETMASK=255.255.255.0
USERCTL=no
NETWORK=172.16.1.0
GATEWAY=172.16.1.1
Restart the server. Give ifconfig, you will find bond0 is up with
configured IP Address and eth0 and eth1 will be as slave.