Article View: pl.comp.os.linux.sieci
Article #244061port-channel + native vlan + bonding -- czemu nie działa?
From: MaRc
Date: Fri, 14 Feb 2014 09:21
Date: Fri, 14 Feb 2014 09:21
112 lines
3538 bytes
3538 bytes
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
--
MaRc
Nie kłóć się z idiotą. Będziesz musiał zniżyć się do jego poziomu a
wówczas pobije cię swoimi argumentami.
Technical Details
Message-ID:
<ldkn61$joa$1@pippin.nask.net.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.nask.pl!news.nask.org.pl!not-for-mailShow 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.nask.pl!news.nask.org.pl!not-for-mail From: MaRc <tuksmr@gmail.com> Newsgroups: pl.comp.os.linux.sieci Subject: port-channel + native vlan + bonding -- czemu nie działa? Date: Fri, 14 Feb 2014 10:21:31 +0100 Organization: NASK - www.nask.pl Lines: 112 Message-ID: <ldkn61$joa$1@pippin.nask.net.pl> NNTP-Posting-Host: marcin.interdom.net.pl Mime-Version: 1.0 X-Trace: pippin.nask.net.pl 1392369665 20234 193.59.36.199 (14 Feb 2014 09:21:05 GMT) X-Complaints-To: abuse ATSIGN nask.pl NNTP-Posting-Date: Fri, 14 Feb 2014 09:21:05 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit