Article View: pl.comp.os.linux.sieci
Article #244395Re: Agregacja 2 karty Intela i switch Cisco SG300
From: Therminus
Date: Thu, 09 Mar 2017 21:14
Date: Thu, 09 Mar 2017 21:14
108 lines
3896 bytes
3896 bytes
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. :(
Technical Details
Message-ID:
<o9sghv$nhp$1@news.icm.edu.pl>Path:
mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.icm.edu.pl!.POSTED!not-for-mailReferences:
<o91ss1$pfv$1@news.icm.edu.pl> <h2auod-s5f.ln1@nie.ma.takiego.numeru> <o9sa1f$1ne$1@news.icm.edu.pl>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.icm.edu.pl!.POSTED!not-for-mail From: Therminus <cysorz_to_ma_klawe_zycie@gazeta.pl> Newsgroups: pl.comp.os.linux.sieci Subject: Re: Agregacja 2 karty Intela i switch Cisco SG300 Date: Thu, 09 Mar 2017 22:14:14 +0100 Organization: ICM, Uniwersytet Warszawski Lines: 109 Message-ID: <o9sghv$nhp$1@news.icm.edu.pl> References: <o91ss1$pfv$1@news.icm.edu.pl> <h2auod-s5f.ln1@nie.ma.takiego.numeru> <o9sa1f$1ne$1@news.icm.edu.pl> NNTP-Posting-Host: 89-64-18-167.dynamic.chello.pl Mime-Version: 1.0 X-Trace: news.icm.edu.pl 1489094015 24121 89.64.18.167 (9 Mar 2017 21:13:35 GMT) X-Complaints-To: usenet@news.icm.edu.pl NNTP-Posting-Date: Thu, 9 Mar 2017 21:13:35 +0000 (UTC) User-Agent: KNode/4.14.10 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit