Witam,
Proszę o pomoc, może ktoś się spotkał z takim problemem.
Router A pinguje router B, a nie pinguje switcha C.
Router B pinguje switch C.
Switch C nie pinguje komputera D, choć nauczył się jego MAC po podaniu port-security mac address sticky i jest wpis w tablicy MAC
Wszystko skonfigurowane jak zawsze, jednak tym razem nie działa. Robiłem to wiele razy. VLANY, trunki, allowed vlan, subinterfejsy na routerze. Wszystko 20 razy sprawdzone, powinno działać a nie działa. W tablicy routingu wszystko rozgłoszone.
Nie mogę pokazać konfigów niestety.
Podaję adresy:
Router A
int s0/1 - 10.1.1.1/30
Router B
int s0/1 - 10.1.1.2/30
f0/0.998 - 10.1.10.254/30
f0/0.10 - 10.1.10.30/27
Switch C
int vlan 998 10.1.10.253/30 (def. gateway 10.1.10.254)
Komputer D
10.1.10.1/27
Traceroute z routera A pod adres 10.1.10.1/27 dale:
1. 10.1.1.2
2 * * *
itd....
Ktoś się spotkał?
Problem z VLAN
Re: Problem z VLAN
Bez konfigu to ciężko coś wywnioskować,
routing masz dodany wszędzie?
routing masz dodany wszędzie?
Re: Problem z VLAN
To co ważne z konfigów:
hostname RTR A
interface Serial0/0/0
ip address 10.1.1.1 255.255.255.252
!
router rip
version 2
network 10.1.0.0
network 10.1.1.0
no auto-summary
hostname RTR B
interface FastEthernet0/0
description LAN
no ip address
duplex full
speed auto
!
interface FastEthernet0/0.10
encapsulation dot1Q 10
ip address 10.1.10.30 255.255.255.224
no cdp enable
!
interface FastEthernet0/0.998
description MGMT
encapsulation dot1Q 998
ip address 10.1.10.254 255.255.255.252
no cdp enable
interface Serial0/0/0
ip address 10.1.1.2 255.255.255.252
!
router rip
version 2
network 10.1.1.0
network 10.1.10.0
no auto-summary
hostname SW C
vlan 10
name LAN
!
vlan 997
name NATIVE
!
vlan 998
name MGMT
!
vlan 999
name HOLE
!
interface GigabitEthernet1/1
description RTR B
switchport trunk encapsulation dot1q
switchport trunk native vlan 997
switchport trunk allowed vlan 10,998
switchport mode trunk
switchport nonegotiate
!
interface GigabitEthernet1/2
switchport access vlan 999
switchport mode access
switchport nonegotiate
shutdown
!
...
interface GigabitEthernet2/8
description KOMPUTER D
switchport access vlan 10
switchport mode access
switchport nonegotiate
spanning-tree portfast
spanning-tree bpduguard enable
..
interface Vlan1
no ip address
!
interface Vlan998
ip address 10.1.10.253 255.255.255.252
!
ip default-gateway 10.1.10.254
hostname RTR A
interface Serial0/0/0
ip address 10.1.1.1 255.255.255.252
!
router rip
version 2
network 10.1.0.0
network 10.1.1.0
no auto-summary
hostname RTR B
interface FastEthernet0/0
description LAN
no ip address
duplex full
speed auto
!
interface FastEthernet0/0.10
encapsulation dot1Q 10
ip address 10.1.10.30 255.255.255.224
no cdp enable
!
interface FastEthernet0/0.998
description MGMT
encapsulation dot1Q 998
ip address 10.1.10.254 255.255.255.252
no cdp enable
interface Serial0/0/0
ip address 10.1.1.2 255.255.255.252
!
router rip
version 2
network 10.1.1.0
network 10.1.10.0
no auto-summary
hostname SW C
vlan 10
name LAN
!
vlan 997
name NATIVE
!
vlan 998
name MGMT
!
vlan 999
name HOLE
!
interface GigabitEthernet1/1
description RTR B
switchport trunk encapsulation dot1q
switchport trunk native vlan 997
switchport trunk allowed vlan 10,998
switchport mode trunk
switchport nonegotiate
!
interface GigabitEthernet1/2
switchport access vlan 999
switchport mode access
switchport nonegotiate
shutdown
!
...
interface GigabitEthernet2/8
description KOMPUTER D
switchport access vlan 10
switchport mode access
switchport nonegotiate
spanning-tree portfast
spanning-tree bpduguard enable
..
interface Vlan1
no ip address
!
interface Vlan998
ip address 10.1.10.253 255.255.255.252
!
ip default-gateway 10.1.10.254
Re: Problem z VLAN
Temat rozwiązany,
okazuje się że switch był defaultowo L3, wystarczyła komenda no ip routing
okazuje się że switch był defaultowo L3, wystarczyła komenda no ip routing