[LUGOS] LAG oz. net-bonding - kako nastaviti?

Rok Potočnik r at rula.net
Sat Sep 6 15:06:29 CEST 2008


Pri nas smo uspesno postimali 803.2ad na cist obicajnem hp proliant 
dl380g5 v navezi z extreme networks x450. na serverju je centos.

---modprobe.conf
alias eth0 bnx2
alias eth1 bnx2
alias bond0 bonding
options bond0 mode=802.3ad miimon=100

---/etc/sysconfig/network-scripts/ifcfg-eth0
# Broadcom Corporation NetXtreme II BCM5708 Gigabit Ethernet
DEVICE=eth0
BOOTPROTO=none
ONBOOT=yes
TYPE=Ethernet
MASTER=bond0
SLAVE=yes

---/etc/sysconfig/network-scripts/ifcfg-eth1
# Broadcom Corporation NetXtreme II BCM5708 Gigabit Ethernet
DEVICE=eth1
BOOTPROTO=none
ONBOOT=yes
TYPE=Ethernet
MASTER=bond0
SLAVE=yes

---/etc/sysconfig/network-scripts/ifcfg-bond0
DEVICE=bond0
ONBOOT=yes
TYPE=Ethernet
IPADDR=1.2.3.4
NETMASK=255.255.255.0
GATEWAY=1.2.3.1

pa dela brezhibno...

---/proc/net/bonding/pbond0
Ethernet Channel Bonding Driver: v3.2.4 (January 28, 2008)

Bonding Mode: IEEE 802.3ad Dynamic link aggregation
Transmit Hash Policy: layer2 (0)
MII Status: up
MII Polling Interval (ms): 100
Up Delay (ms): 0
Down Delay (ms): 0

802.3ad info
LACP rate: slow
Active Aggregator Info:
         Aggregator ID: 1
         Number of ports: 2
         Actor Key: 17
         Partner Key: 2005
         Partner Mac Address: 01:01:01:01:01:01

Slave Interface: eth0
MII Status: up
Link Failure Count: 0
Permanent HW addr: 02:02:02:02:02:02
Aggregator ID: 1

Slave Interface: eth1
MII Status: up
Link Failure Count: 0
Permanent HW addr: 03:03:03:03:03:03
Aggregator ID: 1

-- 
LP, Rok


More information about the lugos-list mailing list