Article View: pl.comp.os.linux.sieci
Article #244062Re: port-channel + native vlan + bonding -- czemu nie działa?
From: Marecki
Date: Fri, 21 Feb 2014 11:17
Date: Fri, 21 Feb 2014 11:17
119 lines
4017 bytes
4017 bytes
W dniu 2014-02-14 10:21, MaRc pisze: > Witam > > Mam skonfigurowanego cisco 6506 na port channel > #v+ > cat6500#sh run int port-channel 3 > Building configuration... > > Current configuration : 242 bytes > ! > interface Port-channel3 > switchport > switchport trunk encapsulation dot1q > switchport trunk native vlan 5 > switchport trunk allowed vlan 5-300,910,4001-4011 > switchport mode trunk > mtu 9216 > no ip address > spanning-tree portfast trunk > end > > cat6500#sh run int g 1/23 > Building configuration... > > Current configuration : 278 bytes > ! > interface GigabitEthernet1/23 > description ed_bonding2 > switchport > switchport trunk encapsulation dot1q > switchport trunk native vlan 5 > switchport trunk allowed vlan 5-300,910,4001-4011 > switchport mode trunk > mtu 9216 > no ip address > channel-group 3 mode active > end > > cat6500#sh run int g 1/24 > Building configuration... > > Current configuration : 302 bytes > ! > interface GigabitEthernet1/24 > description ed_bonding2 > switchport > switchport trunk encapsulation dot1q > switchport trunk native vlan 5 > switchport trunk allowed vlan 5-300,910,4001-4011 > switchport mode trunk > mtu 9216 > no ip address > spanning-tree portfast > channel-group 3 mode active > end > > cat6500#sh run int vlan 5 > Building configuration... > > Current configuration : 63 bytes > ! > interface Vlan5 > ip address 192.168.168.2 255.255.255.0 > end > > cat6500# > #v- > > do portów 1/23 i 1/24 mam podpięte sieciówki z serwera na których robię > bonding aktywny. > mam interfejs bond2, który to zapina się z port-channel 3. do interfejsu > bond2 podpinam vlany a bezpośrednio na bond2 ustawiam adres > #v+ > mr@ed:~$ ip addr show dev bond2 > 10: bond2: <BROADCAST,MULTICAST,MASTER,UP,LOWER_UP> mtu 9216 qdisc > noqueue state UP > link/ether 00:1f:29:56:31:1e brd ff:ff:ff:ff:ff:ff > inet 192.168.168.1/24 scope global bond2 > mr@ed:~$ > #v- > > i teraz kwestia, że ruch w vlanach zapiętych na bond2 mi działa a nie > działa ruch w natywnym vlanie > > drugi serwerek mam podpięty podobnie, z tym, że bez port-channel, port > na catcie jest trunkowy z natywnym vlanem > #v+ > cat6500#sh run int g 1/31 > Building configuration... > > Current configuration : 266 bytes > ! > interface GigabitEthernet1/31 > switchport > switchport trunk encapsulation dot1q > switchport trunk native vlan 5 > switchport trunk allowed vlan 5-300,4001-4011 > switchport mode trunk > no ip address > spanning-tree portfast > end > > cat6500# > #v- > i tu działa. jedyna różnica jest właśnie w portchannel. zapwene robię > gdzieś błąd, tylko gdzie? > z góry dzieki za sugestie. > Pozdrawiam > Witaj wg mnie problem jest po stronie linux'a: Adres IP ustawiony na bond0 jest dla vlan1. Na Cat6500 masz w vlan5, więc na linux powinieneś ustawić ten adres IP na bond0.5 pozdrawiam Marek
Technical Details
Message-ID:
<le7ckm$fno$1@news.task.gda.pl>Path:
mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!agh.edu.pl!news.agh.edu.pl!newsfeed2.atman.pl!newsfeed.atman.pl!news.task.gda.pl!not-for-mailReferences:
<ldkn61$joa$1@pippin.nask.net.pl>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!agh.edu.pl!news.agh.edu.pl!newsfeed2.atman.pl!newsfeed.atman.pl!news.task.gda.pl!not-for-mail From: Marecki <marecki@_NOSPAM_bromberg.pl> Newsgroups: pl.comp.os.linux.sieci Subject: Re: port-channel + native vlan + bonding -- czemu nie działa? Date: Fri, 21 Feb 2014 12:17:42 +0100 Organization: CI TASK http://www.task.gda.pl/ Lines: 119 Message-ID: <le7ckm$fno$1@news.task.gda.pl> References: <ldkn61$joa$1@pippin.nask.net.pl> NNTP-Posting-Host: 031011150112.bydgoszcz.vectranet.pl Mime-Version: 1.0 X-Trace: news.task.gda.pl 1392981462 16120 31.11.150.112 (21 Feb 2014 11:17:42 GMT) X-Complaints-To: abuse@news.task.gda.pl NNTP-Posting-Date: Fri, 21 Feb 2014 11:17:42 +0000 (UTC) User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0 In-Reply-To: <ldkn61$joa$1@pippin.nask.net.pl> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit