/etc/modprobe.d/bonding.conf
alias bond0 bonding
/etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0 TYPE=Ethernet HWADDR=XX:XX:XX:XX:XX:XX BOOTPROTO="none" MASTER=bond0 SLAVE=yes
/etc/sysconfig/network-scripts/ifcfg-eth1
DEVICE=eth1 TYPE=Ethernet HWADDR=XX:XX:XX:XX:XX:XX BOOTPROTO="none" MASTER=bond0 SLAVE=yes
/etc/sysconfig/network-scripts/ifcfg-bond0
DEVICE=bond0 BOOTPROTO=none BRIDGE=br0 BONDING_OPTS="mode=1 primary=eth0 miimon=100 updelay=5000"
/etc/sysconfig/network-scripts/ifcfg-br0
DEVICE=br0 TYPE=Bridge BOOTPROTO=static IPADDR=192.168.10.100 NETMASK=255.255.255.0 NETWORK=192.168.10.0 ONBOOT=yes
# /etc/init.d/network restart # cat /proc/net/bonding/bond0 # ifconfig # brctl show
Related Pages
KVM CLI Commands Cheet Sheat and Configuration Examples