Therminus wrote:
No, jest pewien postęp.
> Tak w ogóle to okazało się, że może jest coś nie tak ze switchem.
Ze switchem wszystko w porządku. Okazało się, że źle podchodziłem do
konfiguracji.
W oknie "Edit LAG Membership" pierwsze co należy zrobić, to "zaptaszkować"
LACP: Enable. Jeśli się tego nie zrobi przed dodaniem portów do LAG Members,
to potem opcja ta jest nieaktywna. Nie pamiętałem jak to robiłem po raz
pierwszy i potem myślałem, że to ustawia się automatycznie, skoro nie mogę
tego edytować.
Wygląda na to, że agregacja kart w serwerze działa.
Na switchu LAG Management pokazuje:
LACP: Enabled
Active Member: GE25, GE26
wynik cat /proc/net/bonding/bond0
Ethernet Channel Bonding Driver: v3.7.1 (April 27, 2011)
Bonding Mode: IEEE 802.3ad Dynamic link aggregation
Transmit Hash Policy: layer2 (0)
MII Status: up
MII Polling Interval (ms): 100
Up Delay (ms): 200
Down Delay (ms): 200
802.3ad info
LACP rate: fast
Min links: 0
Aggregator selection policy (ad_select): stable
System priority: 65535
System MAC address: 00:15:17:89:eb:14
Active Aggregator Info:
Aggregator ID: 1
Number of ports: 2
Actor Key: 9
Partner Key: 1001
Partner Mac Address: b0:7d:47:8e:2a:10
Slave Interface: eth0
MII Status: up
Speed: 1000 Mbps
Duplex: full
Link Failure Count: 0
Permanent HW addr: 00:15:17:89:eb:14
Slave queue ID: 0
Aggregator ID: 1
Actor Churn State: none
Partner Churn State: none
Actor Churned Count: 0
Partner Churned Count: 0
details actor lacp pdu:
system priority: 65535
system mac address: 00:15:17:89:eb:14
port key: 9
port priority: 255
port number: 1
port state: 63
details partner lacp pdu:
system priority: 1
system mac address: b0:7d:47:8e:2a:10
oper key: 1001
port priority: 3
port number: 74
port state: 61
Slave Interface: eth1
MII Status: up
Speed: 1000 Mbps
Duplex: full
Link Failure Count: 0
Permanent HW addr: 00:15:17:89:eb:15
Slave queue ID: 0
Aggregator ID: 1
Actor Churn State: none
Partner Churn State: none
Actor Churned Count: 0
Partner Churned Count: 0
details actor lacp pdu:
system priority: 65535
system mac address: 00:15:17:89:eb:14
port key: 9
port priority: 255
port number: 2
port state: 63
details partner lacp pdu:
system priority: 1
system mac address: b0:7d:47:8e:2a:10
oper key: 1001
port priority: 2
port number: 73
port state: 61
Zastanawia mnie tylko jedna rzecz:
Dla obu interfejsów eth0 i eth1 mam te same wartości
details actor lacp pdu:
system priority: 65535
system mac address: 00:15:17:89:eb:14
Dlaczego dla eth1 pokazuje MAC adres eth0?
Mimo to agregacja wydaje się działać w praktyce.
Sprawdzałem kopiowanie dużych plików z sieci na dyski lokalne na dwóch
stacjach jednocześnie i iptraf w porywach dla bond0 pokazywał ponad
200MB/sec
Co do drugiego switcha, to niestety straciłem z nim łączność i nici ze
zdalnej konfiguracji. :(