2017年4月4日 星期二

RHEL5 Bonding

RHEL5 Bonding

# vi /etc/modprobe.conf
   alias bond0 bonding

#vi /etc/sysconfig/network-script/ifcfg-bond0
  DEVICE=bond0
   IPADDR=192.168.1.10
   NETMASK=255.255.255.0
   USERCTL=no
   BOOTPROTO=none
   ONBOOT=yes
   BONDING_OPTS="mode=5 miimon=100"


# vi ifcfg-eth0
  DEVICE=eth0
  BOOTPROTO=none
  ONBOOT=yes
  MASTER=bond0
  SLAVE=yes
  USERCTL=no

# vim ifcfg-eth1
  DEVICE=eth1
  BOOTPROTO=none
  ONBOOT=yes
  MASTER=bond0
  SLAVE=yes
  USERCTL=no

# /etc/init.d/network restart


沒有留言:

張貼留言