poniedziałek, września 03, 2012

IPMP w RHEL 6

cat /etc/sysconfig/network-scripts/ifcfg-bond0

DEVICE=bond0
IPADDR=192.168.7.71
NETMASK=255.255.255.0
NETWORK=192.168.7.0
BROADCAST=192.168.7.255
ONBOOT=yes
BOOTPROTO=none
USERCTL=no
GATEWAY=192.168.7.1
TYPE=Ethernet
BONDING_OPTS="mode=balance-alb 802.3ad broadcast miimon=100 use_carrier=0 debug=1 xmit_hash_policy=layer3+4"

ln -s /etc/sysconfig/network-scripts/ifup-eth /etc/sysconfig/network-scripts/ifup-bond0
ln -s /etc/sysconfig/network-scripts/ifdown-eth /etc/sysconfig/network-scripts/ifdown-bond0
echo "alias bond0 bonding" > /etc/modprobe.d/bonding.conf


cat /etc/sysconfig/network-scripts/ifcfg-ethX

DEVICE=ethX
ONBOOT=yes
BOOTPROTO=none
USERCTL=no
TYPE=Ethernet
MASTER=bond0
SLAVE=yes
HWADDR=08:00:27:01:02:7X

chkconfig --del NetworkManager
chkconfig --add network
chkconfig network on

IPMP w Solarisie jest bardziej zaawansowane. Linuksową implementację wspierał IBM.

0 komentarze: