Strona 2 z 2

: 02 sty 2015, 14:56
autor: roberto100
JEST DZIAŁA :)

Ustawiłem Default Vlan 2 zamiast 1 oraz dla VLAN1 dałem wszystko EXCLUDED


dla portów 1-4 - jest VLAN2
na porcie 1 - link z serwera DHCP1
na porcie 2 - stacja, która otrzymuje adres od DHCP1
na porcie 3 - stacja, która otrzymuje adres od DHCP1
na porcie 4 - stacja, która otrzymuje adres od DHCP1


dla portów 5-14 oraz 17-28 - jest VLAN3
na porcie 5 - link z serwera DHCP2
na porcie 6 - stacja, która otrzymuje adres od DHCP2
na porcie 7 - stacja, która otrzymuje adres od DHCP2
na porcie 8 - stacja, która otrzymuje adres od DHCP2



dla portów 15,16 - jest VLAN 4

Aczkolwiek to pogrubione mnie niepokoi?

2147483604 2015-Jan-02 15:14:42 Warning %CDP-W-NATIVE_VLAN_MISMATCH: Native VLAN mismatch detected on interface gi1., aggregated (1)
2147483605 2015-Jan-02 15:14:42 Warning %CDP-W-NATIVE_VLAN_MISMATCH: Native VLAN mismatch detected on interface gi6., aggregated (1)

2147483606 2015-Jan-02 15:09:52 Informational %AAA-I-CONNECT: New http connection for user cisco, source 192.168.20.150 destination 192.168.20.215 ACCEPTED
2147483607 2015-Jan-02 15:09:42 Warning %CDP-W-NATIVE_VLAN_MISMATCH: Native VLAN mismatch detected on interface gi1.
2147483608 2015-Jan-02 15:09:42 Warning %CDP-W-NATIVE_VLAN_MISMATCH: Native VLAN mismatch detected on interface gi6.

2147483609 2015-Jan-02 15:08:59 Warning %STP-W-PORTSTATUS: gi3: STP status Forwarding, aggregated (1)
2147483610 2015-Jan-02 15:08:55 Informational %LINK-I-Up: gi3, aggregated (1)
2147483611 2015-Jan-02 15:08:54 Informational %AAA-I-DISCONNECT: http connection for user cisco, source 192.168.20.150 destination 192.168.20.215 TERMINATED
2147483612 2015-Jan-02 15:08:51 Warning %LINK-W-Down: gi3, aggregated (1)
2147483613 2015-Jan-02 15:08:33 Warning %STP-W-PORTSTATUS: gi3: STP status Forwarding, aggregated (1)
2147483614 2015-Jan-02 15:08:32 Warning %STP-W-PORTSTATUS: gi2: STP status Forwarding
2147483615 2015-Jan-02 15:08:29 Informational %LINK-I-Up: gi3, aggregated (1)
2147483616 2015-Jan-02 15:08:27 Informational %LINK-I-Up: gi2
2147483617 2015-Jan-02 15:08:26 Warning %LINK-W-Down: gi5, aggregated (1)
2147483618 2015-Jan-02 15:08:24 Warning %STP-W-PORTSTATUS: gi5: STP status Forwarding
2147483619 2015-Jan-02 15:08:24 Warning %LINK-W-Down: gi3
2147483620 2015-Jan-02 15:08:20 Informational %LINK-I-Up: gi5
2147483621 2015-Jan-02 15:08:16 Warning %LINK-W-Down: gi5
2147483622 2015-Jan-02 15:08:15 Warning %STP-W-PORTSTATUS: gi3: STP status Forwarding
2147483623 2015-Jan-02 15:08:10 Informational %LINK-I-Up: gi3
2147483624 2015-Jan-02 15:08:08 Warning %LINK-W-Down: gi2
2147483625 2015-Jan-02 15:08:06 Warning %LINK-W-Down: Vlan 4
2147483626 2015-Jan-02 15:08:06 Warning %LINK-W-Down: gi15
2147483627 2015-Jan-02 15:04:42 Warning %CDP-W-NATIVE_VLAN_MISMATCH: Native VLAN mismatch detected on interface gi1.
2147483628 2015-Jan-02 15:04:42 Warning %CDP-W-NATIVE_VLAN_MISMATCH: Native VLAN mismatch detected on interface gi6.

2147483629 2015-Jan-02 15:04:35 Warning %STP-W-PORTSTATUS: gi6: STP status Forwarding
2147483630 2015-Jan-02 15:04:31 Informational %LINK-I-Up: gi6
2147483631 2015-Jan-02 15:04:28 Warning %LINK-W-Down: gi6
2147483632 2015-Jan-02 15:04:14 Warning %STP-W-PORTSTATUS: gi1: STP status Forwarding
2147483633 2015-Jan-02 15:04:10 Informational %LINK-I-Up: gi1
2147483634 2015-Jan-02 15:04:06 Warning %LINK-W-Down: gi1
2147483635 2015-Jan-02 15:03:26 Warning %STP-W-PORTSTATUS: gi5: STP status Forwarding, aggregated (1)
2147483636 2015-Jan-02 15:03:22 Informational %LINK-I-Up: gi5, aggregated (1)
2147483637 2015-Jan-02 15:03:18 Warning %LINK-W-Down: gi5
2147483638 2015-Jan-02 15:03:17 Warning %STP-W-PORTSTATUS: gi5: STP status Forwarding
2147483639 2015-Jan-02 15:03:13 Informational %LINK-I-Up: gi5
2147483640 2015-Jan-02 15:03:09 Warning %LINK-W-Down: gi3, aggregated (1)
2147483641 2015-Jan-02 15:02:57 Warning %STP-W-PORTSTATUS: gi3: STP status Forwarding
2147483642 2015-Jan-02 15:02:52 Informational %LINK-I-Up: gi3
2147483643 2015-Jan-02 15:02:48 Warning %LINK-W-Down: gi3
2147483644 2015-Jan-02 15:02:27 Warning %STP-W-PORTSTATUS: gi2: STP status Forwarding
2147483645 2015-Jan-02 15:02:23 Informational %LINK-I-Up: gi2
2147483646 2015-Jan-02 15:02:19 Warning %LINK-W-Down: gi2
2147483647 2015-Jan-02 15:02:11 Notice %SYSLOG-N-CLEARLOGGING: clear messages from the internal logging buffer.

: 02 sty 2015, 19:42
autor: Kyniu
roberto100 pisze: Swich w trybie L3
No tak to my się nigdy nie dogadamy. Jak piszesz że masz switch to niech to będzie switch a nie router.

: 05 sty 2015, 10:07
autor: roberto100
roberto100 wrote:

Swich w trybie L3


No tak to my się nigdy nie dogadamy. Jak piszesz że masz switch to niech to będzie switch a nie router.
No oczywiście - już jest L2 - swich - i jest wszystko OK w logach nie ma już informacji o natywnym vlanie.

Ale nie to było głównym problemem
- główny problem - wg mnie - to to, że pozostawiałem wcześniej vlan1 jako default. Teraz jak defaultowy jest vlan2 nie ma żadnego problemu - vlany są odseparowane - chociaż się wzajemnie "pingują"

Dziękuję za dotychczasową pomoc i wyrozumiałość. :)

: 06 sty 2015, 10:19
autor: roberto100
No i się nacieszyłem .... :(

Kod: Zaznacz cały

2147483387	2013-May-03 12:52:41	Warning	%CDP-W-NATIVE_VLAN_MISMATCH: Native VLAN mismatch detected on interface gi18.      
2147483388	2013-May-03 12:50:41	Warning	%CDP-W-NATIVE_VLAN_MISMATCH: Native VLAN mismatch detected on interface gi17.    
Ale zastanawiam się nad jednym:
port 17 i port 18 to linki od serwera dhcp (linux), na których to funkcjonują inne virtualne lany, ale linuxowe.

Czy przypadkiem nie jest tak, że swich wykrywa to na tych portach ?

: 04 lut 2015, 05:15
autor: golisz
Masz native vlan mismatch. Zmien native na switchu na taki sam jak masz na linuxie i problem zniknie. Ja nie uzywam vlan 1 wogole. Za kazdym razem robie inny vlan jako natywny i wylaczam vlan 1 calkowicie poprzez shutdown. Jezeli zrobiles trunk port na switchu do linuxa a linux uzywa innego vlan niz 1 jako glownego czyli native dlatego tez pokazal Ci sie error ze wystepuje blad pomiedzy vlanami. Zrob tak jak napisalem wyzej i to bedzie dla Ciebie najlatwiejsze niz zmienianie ustawien serverka :)

: 16 lut 2015, 09:57
autor: roberto100
Dziękuję za podpowiedź, na linuxie na tym eth mam kilka vlanów.
jednak problem polega też na tym, że "smigało" to jakiś tydzień - a potem nastąpiła jakaś blokada w Vlanach na tym swichu. I znowu się jakby dwa vlany zaczęły blokować...

: 30 paź 2015, 10:59
autor: roberto100
golisz pisze:Masz native vlan mismatch. Zmien native na switchu na taki sam jak masz na linuxie i problem zniknie. (...)
Pytanie:
w linuxie na tej karcie mam ustawiony powieddzmy interface static fizyczny 192.168.0.254

-a reszta to Vlany stworzone na tej samej karcie, np. 192.168.1.x, 192.168.2.x, 192.168.3.x itd.

Czy to może być powodem tychże błędów ?

Czy zgodnie z w/w radą kol. "golisz" w swichu ustawić native vlan na taki sam, jak fizyczny, tj. 192.168.0.254 ?

: 11 lis 2015, 09:09
autor: dawid.mitura
Gdy nie musze, Native VLAN pakuje np do VLAN998, a nieuzywane porty do VLAN999 (BlackHole).
Rowniez nie uzywam VLAN1, chyba ze nie mam takiej mozliwosci i jestem an to skazany.

Dodatkowo na Switchach SBS (SmallBussinesScheiß), gdy mam IP Phone i Voice VLAN, musze korzystac z VLANu natywnego. Jest on zarezerwowany dla hostow. Przyklad:

Kod: Zaznacz cały

interface fastethernet5
 spanning-tree portfast
 switchport trunk native vlan 11
 voice vlan enable
VL11 - data
VL99 - voice