วันพุธที่ 5 มีนาคม พ.ศ. 2557

Network bonding On Linux

Config File for Network Bonding *****

1.#/etc/modprobe.d/bond.conf
alias bond0 bonding
options bond0 mode=1 miimon=100  primary=eth0
2.#/etc/sysconfig/network-scripts/ifcfg-bond0
DEVICE=bond0
IPADDR=192.168.1.1
NETMASK=255.255.255.0
NETWORK=192.168.1.0
BROADCAST=192.168.1.255
ONBOOT=yes
BOOTPROTO=none
USERCTL=no
3.#/etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0
USERCTL=no
ONBOOT=yes
MASTER=bond0
SLAVE=yes
BOOTPROTO=none
4.#/etc/sysconfig/network-scripts/ifcfg-eth1
DEVICE=eth1
USERCTL=no
ONBOOT=yes
MASTER=bond0
SLAVE=yes
BOOTPROTO=none
 
***** Monitor Network Interface Bonding *****
#cat /proc/net/bonding/bond0


ไม่มีความคิดเห็น:

แสดงความคิดเห็น