salut

intampin probleme in a face sa mearga tandemul linux bonding - switch allied 
telesyn at-gs950 in mod 802.3ad

am configurat switch-ul cu cele doua porturi in truncking (in documentatie zice 
ca e 802.3ad compliant)

am configurat linuxu astfel:
-> modprobe.conf
alias bond0 bonding 

options bond0 mode=4 miimon=100 downdelay=500 updelay=500 use_carrier=1 
lacp_rate=1

-> ifcfg-bond0
DEVICE=bond0 

IPADDR=192.168.124.222 

NETMASK=255.255.255.0 

NETWORK=192.168.124.0 

BROADCAST=192.168.124.255 

ONBOOT=yes 

BOOTPROTO=none 

USERCTL=no

-> ifcfg-eth0
DEVICE=eth0 

USERCTL=no 

ONBOOT=yes 

MASTER=bond0 

SLAVE=yes 

BOOTPROTO=none

-> ifcfg-eth1
DEVICE=eth1 

USERCTL=no 

ONBOOT=yes 

MASTER=bond0 

SLAVE=yes 

BOOTPROTO=none

cele 2 placi de retea sunt Intel 82573E si merg cu modulul e1000e

in functionare avem:

bond0     Link encap:Ethernet  HWaddr 00:30:48:56:19:F6
           inet addr:192.168.124.222  Bcast:192.168.124.255  Mask:255.255.255.0
           inet6 addr: fe80::230:48ff:fe56:19f6/64 Scope:Link
           UP BROADCAST RUNNING MASTER MULTICAST  MTU:1500  Metric:1
           RX packets:5193 errors:0 dropped:0 overruns:0 frame:0
           TX packets:3098 errors:0 dropped:0 overruns:0 carrier:0
           collisions:0 txqueuelen:0
           RX bytes:784291 (765.9 KiB)  TX bytes:375984 (367.1 KiB)

eth0      Link encap:Ethernet  HWaddr 00:30:48:56:19:F6
           UP BROADCAST RUNNING SLAVE MULTICAST  MTU:1500  Metric:1
           RX packets:4877 errors:0 dropped:0 overruns:0 frame:0
           TX packets:1621 errors:0 dropped:0 overruns:0 carrier:0
           collisions:0 txqueuelen:1000
           RX bytes:756889 (739.1 KiB)  TX bytes:192836 (188.3 KiB)
           Memory:ed300000-ed320000

eth1      Link encap:Ethernet  HWaddr 00:30:48:56:19:F6
           UP BROADCAST RUNNING SLAVE MULTICAST  MTU:1500  Metric:1
           RX packets:316 errors:0 dropped:0 overruns:0 frame:0
           TX packets:1477 errors:0 dropped:0 overruns:0 carrier:0
           collisions:0 txqueuelen:1000
           RX bytes:27402 (26.7 KiB)  TX bytes:183148 (178.8 KiB)
           Memory:ed400000-ed420000

deci se vede si ceva trafic pe eth0 si eth1 si teth0 + teth1 = tbond0

si

[r...@gw ~]# cat /proc/net/bonding/bond0
Ethernet Channel Bonding Driver: v3.6.0 (September 26, 2009)

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

802.3ad info
LACP rate: fast
Aggregator selection policy (ad_select): stable
Active Aggregator Info:
        Aggregator ID: 3
        Number of ports: 1
        Actor Key: 17
        Partner Key: 1
        Partner Mac Address: 00:00:00:00:00:00

Slave Interface: eth0
MII Status: up
Link Failure Count: 0
Permanent HW addr: 00:30:48:56:19:f6
Aggregator ID: 3

Slave Interface: eth1
MII Status: up
Link Failure Count: 0
Permanent HW addr: 00:30:48:56:19:f7
Aggregator ID: 5

deci se pare ca pe lacp nu se schimba nimic intre linux si switch

problema? -> nu prea se poate comunica cu exteriorul

mac-urile sunt invatate corect uneori, alteori deloc, atat de server-ul cu 
pricina, cat si de catre celelalte statii cu care fac teste -> n-am reusit 
sa-mi 
dau seama care e motivul care face diferenta

daca dau ping de pe o statie catre server si simultan dau pe acesta o comanda 
de 
tipul:
ifenslave -d bond0 eth1

trec 2~3 reply-uri dupa care liniste (!?!?!?)

la fel si cand dau apoi:
ifenslave bond0 eth1

si reciproca e adevarata

am incercat fara succes:
* kernel 2.6.33 in loc de 2.6.18-x cu care vine centos;
* alte 2 placi de retea, tot intel dar de generatie mai veche, cu modul e1000;
* truncking pe switch cu alte 2 porturi;

ce sa-i mai fac?
oare e prost telesica? sau fac eu ceva gresit?
aveti experiente cu swich-uri allied telesyn + bonding + linux?

_______________________________________________
RLUG mailing list
[email protected]
http://lists.lug.ro/mailman/listinfo/rlug

Raspunde prin e-mail lui