Linux Ethernet Bonding

From FedoraJunkies

Jump to: navigation, search

Update old interface files to become part of the bond0

Example ifcfg-eth0 for a bonded ethernet port (Active):

DEVICE=eth0
BOOTPROTO=none
HWADDR=00:30:48:32:D3:EE
ONBOOT=yes
MASTER=bond0 # What bond are we part of
SLAVE=yes # Yes we're in a bond and it is our master
USERCTL=no # No users cannot control this bond, only root

Example ifcfg-eth1 for a bonded ethernet port (Backup):

DEVICE=eth1
HWADDR=00:30:48:32:D3:EF
ONBOOT=yes
BOOTPROTO=none
MASTER=bond0
SLAVE=yes
USERCTL=no



And that's it! just start your network back up (service network start) and you will have active/backup redundancy :)

Personal tools