troubleshooting Question

Help getting inter-vlan routing between three switches working

Avatar of ndalmolin_13
ndalmolin_13Flag for United States of America asked on
RoutersSwitches / Hubs
6 Comments1 Solution683 ViewsLast Modified:
Hello Cisco Experts,

I'm trying to figure out how to configure inter-VLAN routing on a test network of mine.  The network consists of three switches and two PCs.  One switch (named FLAGSTAFF-SW) is playing the role of a distribution switch.  The other two swiches (SALES-SW and ENGINEERING-SW) are playing the role of access level switches.

I configured trunk ports on both the access switches to the distribution switch.  On the distribution switch I configured an SVI for each subnet and assigned it an IP.  My workstation on each subnet has been configured with the IP of the SVI for that subnet (on the distribution switch) as its gateway.  I can ping the SVI from each workstation, so it looks to me like layer 2 is working.

I did change the default vlan from 1 t0 600, but I did that on each trunk port, so there is no mismatch that I'm seeing.  

Any ways, I've been pulling my hair out for hours trying to figure out why this setup is not working.  Any help any of you can provide will be greatly appreciated.

I may ask questions as I'm trying to learn this stuff.

Configs from each switch are below.

Thanks,
Nick

FLAGSTAFF-SW

FLAGSTAFF-SW#show running-config
Building configuration...

Current configuration : 3035 bytes
!
version 12.2
no service timestamps log datetime msec
no service timestamps debug datetime msec
service password-encryption
!
hostname FLAGSTAFF-SW
!
!
!
enable secret 5 $1$mERr$O2pBZlhcXrfdiqVGupCDQ/
!
!
!
!
!
aaa new-model
!
aaa authentication login local local
!
!
!
!
ip routing
!
!
!
!
username ntdcc privilege 15 secret 5 $1$mERr$DqBVb1u9tBBclIYaA.lhc0
!
!
!
!
!
ip ssh version 2
ip domain-name NTDCC.local
!
!
vtp mode transparent
!
spanning-tree mode pvst
!
!
!
!
vlan 10
 name SALES
!
vlan 20
 name ENGINEERING
!
vlan 250
 name MANAGEMENT
!
vlan 513
 name DISABLED_PORTS
!
vlan 600
 name TRUNKING
!
interface FastEthernet0/1
 switchport access vlan 250
!
interface FastEthernet0/2
 switchport access vlan 513
 shutdown
!
interface FastEthernet0/3
 switchport access vlan 513
 shutdown
!
interface FastEthernet0/4
 switchport access vlan 513
 shutdown
!
interface FastEthernet0/5
 switchport access vlan 513
 shutdown
!
interface FastEthernet0/6
 switchport access vlan 513
 shutdown
!
interface FastEthernet0/7
 switchport access vlan 513
 shutdown
!
interface FastEthernet0/8
 switchport access vlan 513
 shutdown
!
interface FastEthernet0/9
 switchport access vlan 513
 shutdown
!
interface FastEthernet0/10
 switchport access vlan 513
 shutdown
!
interface FastEthernet0/11
 switchport access vlan 513
 shutdown
!
interface FastEthernet0/12
 switchport access vlan 513
 shutdown
!
interface FastEthernet0/13
 switchport access vlan 513
 shutdown
!
interface FastEthernet0/14
 switchport access vlan 513
 shutdown
!
interface FastEthernet0/15
 switchport access vlan 513
 shutdown
!
interface FastEthernet0/16
 switchport access vlan 513
 shutdown
!
interface FastEthernet0/17
 switchport access vlan 513
 shutdown
!
interface FastEthernet0/18
 switchport access vlan 513
 shutdown
!
interface FastEthernet0/19
 switchport access vlan 513
 shutdown
!
interface FastEthernet0/20
 switchport access vlan 513
 shutdown
!
interface FastEthernet0/21
 switchport access vlan 513
 shutdown
!
interface FastEthernet0/22
 switchport access vlan 513
 shutdown
!
interface FastEthernet0/23
 switchport access vlan 600
 switchport trunk native vlan 600
 switchport trunk encapsulation dot1q
 switchport mode trunk
!
interface FastEthernet0/24
 switchport access vlan 600
 switchport trunk native vlan 600
 switchport trunk encapsulation dot1q
 switchport mode trunk
!
interface GigabitEthernet0/1
 switchport access vlan 513
!
interface GigabitEthernet0/2
 switchport access vlan 513
!
interface Vlan1
 no ip address
 shutdown
!
interface Vlan10
 ip address 10.10.10.254 255.255.255.0
!
interface Vlan20
 ip address 172.16.20.254 255.255.255.0
!
interface Vlan250
 ip address 10.10.250.50 255.255.255.0
!
interface Vlan600
 no ip address
!
ip classless
!
!
!
!
!
!
!
line con 0
 password 7 08020D5D0A4926181C1803082F
 logging synchronous
line vty 0 4
 password 7 08020D5D0A4931121E050910
 logging synchronous
 transport input ssh
line vty 5 15
 password 7 08020D5D0A4931121E050910
 logging synchronous
 transport input ssh
!
!
!
end

The results of show ip route on this switch is as follows:

FLAGSTAFF-SW#show ip route
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
       E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
       i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area
       * - candidate default, U - per-user static route, o - ODR
       P - periodic downloaded static route

Gateway of last resort is not set

     10.0.0.0/24 is subnetted, 2 subnets
C       10.10.10.0 is directly connected, Vlan10
C       10.10.250.0 is directly connected, Vlan250
     172.16.0.0/24 is subnetted, 1 subnets
C       172.16.20.0 is directly connected, Vlan20

The other two switches are playing the role of access level switches.  Their configs are as follows:

SALES-SW

SALES-SW#show running-config
Building configuration...

Current configuration : 3125 bytes
!
version 12.2
no service timestamps log datetime msec
no service timestamps debug datetime msec
service password-encryption
!
hostname SALES-SW
!
!
!
enable secret 5 $1$mERr$O2pBZlhcXrfdiqVGupCDQ/
!
!
!
!
!
aaa new-model
!
!
!
!
!
!
!
!
username ntdcc privilege 15 secret 5 $1$mERr$PXcLUQB8C/pCiPIS7ZCKd0
!
!
!
!
!
ip ssh version 2
ip domain-name NTDCC.local
!
!
spanning-tree mode pvst
!
!
!
!
interface FastEthernet0/1
 switchport access vlan 250
!
interface FastEthernet0/2
 switchport access vlan 10
 switchport mode access
!
interface FastEthernet0/3
 switchport access vlan 10
 switchport mode access
!
interface FastEthernet0/4
 switchport access vlan 513
 switchport mode access
 shutdown
!
interface FastEthernet0/5
 switchport access vlan 513
 switchport mode access
 shutdown
!
interface FastEthernet0/6
 switchport access vlan 513
 switchport mode access
 shutdown
!
interface FastEthernet0/7
 switchport access vlan 513
 switchport mode access
 shutdown
!
interface FastEthernet0/8
 switchport access vlan 513
 switchport mode access
 shutdown
!
interface FastEthernet0/9
 switchport access vlan 513
 switchport mode access
 shutdown
!
interface FastEthernet0/10
 switchport access vlan 513
 switchport mode access
 shutdown
!
interface FastEthernet0/11
 switchport access vlan 513
 switchport mode access
 shutdown
!
interface FastEthernet0/12
 switchport access vlan 513
 switchport mode access
 shutdown
!
interface FastEthernet0/13
 switchport access vlan 513
 switchport mode access
 shutdown
!
interface FastEthernet0/14
 switchport access vlan 513
 switchport mode access
 shutdown
!
interface FastEthernet0/15
 switchport access vlan 513
 switchport mode access
 shutdown
!
interface FastEthernet0/16
 switchport access vlan 513
 switchport mode access
 shutdown
!
interface FastEthernet0/17
 switchport access vlan 513
 switchport mode access
 shutdown
!
interface FastEthernet0/18
 switchport access vlan 513
 switchport mode access
 shutdown
!
interface FastEthernet0/19
 switchport access vlan 513
 switchport mode access
 shutdown
!
interface FastEthernet0/20
 switchport access vlan 513
 switchport mode access
 shutdown
!
interface FastEthernet0/21
 switchport access vlan 513
 switchport mode access
 shutdown
!
interface FastEthernet0/22
 switchport access vlan 513
 switchport mode access
 shutdown
!
interface FastEthernet0/23
 switchport access vlan 513
 switchport mode access
 shutdown
!
interface FastEthernet0/24
 switchport access vlan 600
 switchport trunk native vlan 600
 switchport trunk encapsulation dot1q
 switchport mode trunk
!
interface GigabitEthernet0/1
 switchport access vlan 513
!
interface GigabitEthernet0/2
 switchport access vlan 513
!
interface Vlan1
 no ip address
 shutdown
!
interface Vlan250
 ip address 10.10.250.20 255.255.255.0
!
interface Vlan600
 no ip address
!
ip classless
!
!
!
!
!
!
!
line con 0
 password 7 08020D5D0A4926181C1803082F
 logging synchronous
line vty 0 4
 password 7 08020D5D0A4931121E050910
 logging synchronous
 transport input ssh
line vty 5 15
 password 7 08020D5D0A4931121E050910
 logging synchronous
 transport input ssh
!
!
!
end


ENGINEERING-SW

ENGINEERING-SW#show running-config
Building configuration...

Current configuration : 2661 bytes
!
version 12.2
no service timestamps log datetime msec
no service timestamps debug datetime msec
service password-encryption
!
hostname ENGINEERING-SW
!
!
!
enable secret 5 $1$mERr$O2pBZlhcXrfdiqVGupCDQ/
!
!
!
!
!
aaa new-model
!
aaa authentication login local local
!
!
!
!
!
!
!
username ntdcc privilege 15 secret 5 $1$mERr$PXcLUQB8C/pCiPIS7ZCKd0
!
!
!
!
!
ip ssh version 2
ip domain-name NTDCC.local
!
!
spanning-tree mode pvst
!
!
!
!
interface FastEthernet0/1
 switchport access vlan 250
!
interface FastEthernet0/2
 switchport access vlan 20
!
interface FastEthernet0/3
 switchport access vlan 20
!
interface FastEthernet0/4
 switchport access vlan 513
 shutdown
!
interface FastEthernet0/5
 switchport access vlan 513
 shutdown
!
interface FastEthernet0/6
 switchport access vlan 513
 shutdown
!
interface FastEthernet0/7
 switchport access vlan 513
 shutdown
!
interface FastEthernet0/8
 switchport access vlan 513
 shutdown
!
interface FastEthernet0/9
 switchport access vlan 513
 shutdown
!
interface FastEthernet0/10
 switchport access vlan 513
 shutdown
!
interface FastEthernet0/11
 switchport access vlan 513
 shutdown
!
interface FastEthernet0/12
 switchport access vlan 513
 shutdown
!
interface FastEthernet0/13
 switchport access vlan 513
 shutdown
!
interface FastEthernet0/14
 switchport access vlan 513
 shutdown
!
interface FastEthernet0/15
 switchport access vlan 513
 shutdown
!
interface FastEthernet0/16
 switchport access vlan 513
 shutdown
!
interface FastEthernet0/17
 switchport access vlan 513
 shutdown
!
interface FastEthernet0/18
 switchport access vlan 513
 shutdown
!
interface FastEthernet0/19
 switchport access vlan 513
 shutdown
!
interface FastEthernet0/20
 switchport access vlan 513
 shutdown
!
interface FastEthernet0/21
 switchport access vlan 513
 shutdown
!
interface FastEthernet0/22
 switchport access vlan 513
 shutdown
!
interface FastEthernet0/23
 switchport access vlan 513
 shutdown
!
interface FastEthernet0/24
 switchport access vlan 600
 switchport trunk native vlan 600
 switchport trunk encapsulation dot1q
 switchport mode trunk
!
interface GigabitEthernet0/1
 switchport access vlan 513
 shutdown
!
interface GigabitEthernet0/2
 switchport access vlan 513
 shutdown
!
interface Vlan1
 no ip address
 shutdown
!
interface Vlan250
 ip address 10.10.250.21 255.255.255.0
!
interface Vlan600
 no ip address
!
ip classless
!
!
!
!
!
!
!
line con 0
 password 7 08020D5D0A4926181C1803082F
 logging synchronous
line vty 0 4
 password 7 08020D5D0A4931121E050910
 logging synchronous
 transport input ssh
line vty 5 15
 password 7 08020D5D0A4931121E050910
 logging synchronous
 transport input ssh
!
!
!
end
ASKER CERTIFIED SOLUTION
Join our community to see this answer!
Unlock 1 Answer and 6 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 6 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros