Montag, 3. Dezember 2007

Teaming / bonding

Beispiel unter Fedora Core Linux

Doku:

/usr/share/doc/kernel-doc-x.x.x/Documentation/networking/bonding.txt


/etc//modprobe.conf


alias bond0 bonding
alias eth0 pcnet32
alias eth1 pcnet32
options bond0 mode=0 miimon=100 use_carrier=1



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

DEVICE=bond0
IPADDR=172.16.132.135
NETMASK=255.255.255.0
GATEWAY=172.16.132.254
USERCTL=no
BOOTPROTO=none
ONBOOT=yes


/etc/sysconfig/network-scripts/ifcfg-eth0

DEVICE=eth0
BOOTPROTO=static
HWADDR=00:0C:29:C5:30:A5
MASTER=bond0
SLAVE=yes
ONBOOT=yes


/etc/sysconfig/network-scripts/ifcfg-eth1

DEVICE=eth1
BOOTPROTO=static
MASTER=bond0
SLAVE=yes
ONBOOT=yes