trying to setup a vlan with just the switch virtual interfaces

clarsonclarson Member Posts: 903 ■■■■□□□□□□
I'm setting up a couple of 2960 switches with vlans and a 2851 router as a ROAS. everything seems to be working except one. I'm trying to set up a vlan that only has the switch virtual interfaces. The vlan id is 99. with the switch interfaces as 192.168.99.11 and 192.168.99.22. the switches can talk to one another but the router cant.
Probably have something setup wrong? do you see where it is? Here is some config info:
!
vlan 10,20,99
!
all the ports are assigned to vlan 10 or 20 or is a trunk
!
interface GigabitEthernet0/1
description crossover connection to S2
switchport access vlan 10
switchport trunk native vlan 999
switchport mode trunk
!
interface Vlan1
no ip address
no ip route-cache
!
interface Vlan10
no ip address
!
interface Vlan99
ip address 192.168.99.11 255.255.255.0
!
ip default-gateway 192.168.99.1
*****
on the router
******
!
interface GigabitEthernet0/0.10
encapsulation dot1Q 10
ip address 192.168.1.1 255.255.255.0
!
interface GigabitEthernet0/0.20
encapsulation dot1Q 20
ip address 192.168.2.1 255.255.255.0
!
interface GigabitEthernet0/0.30
encapsulation dot1Q 30
ip address 192.168.3.1 255.255.255.0
!
interface GigabitEthernet0/0.99
encapsulation dot1Q 99
ip address 192.168.99.1 255.255.255.0
!
show ip route
C 192.168.99.0/24 is directly connected, GigabitEthernet0/0.99
L 192.168.99.1/32 is directly connected, GigabitEthernet0/0.99
show vlans
Protocols Configured: Address: Received: Transmitted:
IP 192.168.99.1 0 0
Other 0 34
0 packets, 0 bytes input
34 packets, 1564 bytes output

thanks for the help

Comments

  • KelkinKelkin Member Posts: 261 ■■■□□□□□□□
    We see SW1 Config gig0/1 to SW2.. what is the config for the switchport connecting the Router?
  • clarsonclarson Member Posts: 903 ■■■■□□□□□□
    Yes that was the problem. late night typo. took some fresh eyes to notice it. anyway the trunk from sw2 to the router had
    switchport trunk native vlan 99
    and of course it should have been
    switchport trunk native vlan 999
    or actually anything other than 99 wouldn't have caused this issue.
    all working now
    thanks
Sign In or Register to comment.