Nie jesteś zalogowany.
Jeśli nie posiadasz konta, zarejestruj je już teraz! Pozwoli Ci ono w pełni korzystać z naszego serwisu. Spamerom dziękujemy!

Ogłoszenie

Prosimy o pomoc dla małej Julki — przekaż 1% podatku na Fundacji Dzieciom zdazyć z Pomocą.
Więcej informacji na dug.net.pl/pomagamy/.

#1  2014-02-12 11:18:20

  Nicram - Użytkownik

Nicram
Użytkownik
Zarejestrowany: 2006-03-28

port-channel + native vlan + bonding -- czemu nie działa

Witam.
Mam postawiony serwerek, na którym mam zrobiony bonding, podpięte to dwoma skrętkami do switcha cisco cat 6k5.
na serwerze do interfejsu bond2 mam popodpinane kilkanaście vlanów.

trochę configuracji.
cat 6k5

Kod:

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_pppoe_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 trunk
 channel-group 3 mode active
end

cat6500#sh run int g 1/24
Building configuration...

Current configuration : 302 bytes
!
interface GigabitEthernet1/24
 description ed_pppoe_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 trunk
 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#

na serwerze

Kod:

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:~$

fragment konfiguracji bond2

Kod:

auto bond2
iface bond2 inet static
        address 192.168.168.1
        netmask 255.255.255.0
#       mtu 1528
        mtu 9216
        slaves eth4 eth5
        bond-mode balance-rr
        bond-miimon 100
        bond-downdelay 200
        bond-updelay 200

auto vlan10
iface vlan10 inet static
        address 0.0.0.0
        netmask 255.255.255.255
        mtu 1500
        vlan-raw-device bond2

auto vlan11
iface vlan11 inet static
        address 0.0.0.0
        netmask 255.255.255.255
        mtu 1500
        vlan-raw-device bond2

do interfejsu bond2 są pozapinane interfejsy vlanowe. problem polega na tym, że natywny vlan tu nie działa. działa komunikacja w vlanach ale nie działa komunikacja bez tagowania :/ nie mogę pingnąć interfejsu vlan 5 na cisco (192.168.168.2). Ustawiłem w sieci na innym urządzeniu adres z tej sieci i 192.168.168.2 jest jak najbardziej osiągalny. problem jest międzi cisco a serwerem.

na innym serverku bez bondingu jest identycznie skonfigurowany interfejs na catalyscie i to działa.
czyżby na ether-channel nie można użyć native vlan?

z góry dzięki za sugestie.
Pzdr 4@ll

Ostatnio edytowany przez Nicram (2014-02-12 11:23:13)

Offline

 

Stopka forum

Powered by PunBB
© Copyright 2002–2005 Rickard Andersson
To nie jest tylko forum, to nasza mała ojczyzna ;-)

[ Generated in 0.012 seconds, 9 queries executed ]

Informacje debugowania

Time (s) Query
0.00017 SET CHARSET latin2
0.00007 SET NAMES latin2
0.00232 SELECT u.*, g.*, o.logged FROM punbb_users AS u INNER JOIN punbb_groups AS g ON u.group_id=g.g_id LEFT JOIN punbb_online AS o ON o.ident='18.191.240.222' WHERE u.id=1
0.00163 REPLACE INTO punbb_online (user_id, ident, logged) VALUES(1, '18.191.240.222', 1715704879)
0.00081 SELECT * FROM punbb_online WHERE logged<1715704579
0.00140 SELECT t.subject, t.closed, t.num_replies, t.sticky, f.id AS forum_id, f.forum_name, f.moderators, fp.post_replies, 0 FROM punbb_topics AS t INNER JOIN punbb_forums AS f ON f.id=t.forum_id LEFT JOIN punbb_forum_perms AS fp ON (fp.forum_id=f.id AND fp.group_id=3) WHERE (fp.read_forum IS NULL OR fp.read_forum=1) AND t.id=25221 AND t.moved_to IS NULL
0.00008 SELECT search_for, replace_with FROM punbb_censoring
0.00263 SELECT u.email, u.title, u.url, u.location, u.use_avatar, u.signature, u.email_setting, u.num_posts, u.registered, u.admin_note, p.id, p.poster AS username, p.poster_id, p.poster_ip, p.poster_email, p.message, p.hide_smilies, p.posted, p.edited, p.edited_by, g.g_id, g.g_user_title, o.user_id AS is_online FROM punbb_posts AS p INNER JOIN punbb_users AS u ON u.id=p.poster_id INNER JOIN punbb_groups AS g ON g.g_id=u.group_id LEFT JOIN punbb_online AS o ON (o.user_id=u.id AND o.user_id!=1 AND o.idle=0) WHERE p.topic_id=25221 ORDER BY p.id LIMIT 0,25
0.00132 UPDATE punbb_topics SET num_views=num_views+1 WHERE id=25221
Total query time: 0.01043 s