Troubleshooting Inter-VLAN Routing
Troubleshooting Inter-VLAN Routing
Search …
In this lesson we’ll take a look how to solve inter-VLAN routing issues. Here’s the Course Contents
topology we will use:
CCNP TSHOOT
Unit 1: Preparation
Unit 3: Switching
Unit 4: Routing
Troubleshooting RIP
A quick ping from H1 to H2 shows us that the two computers can’t reach each other.
Where should we start troubleshooting? Let’s check the IP configuration of H1:
Windows IP Configuration
This lesson isn’t about windows but we do need to pay attention to our hosts. Since the
computers need “to get out of their own subnet” we have to verify that the default
gateway IP address is ok and reachable. Let’s try it:
https://networklessons.com/cisco/ccnp-tshoot/troubleshooting-inter-vlan-routing 1/5
1/19/23, 10:45 AM Troubleshooting Inter-VLAN Routing
H1 is able to reach the default gateway so we at least know that H1 is working fine. Let’s
check H2:
Windows IP Configuration
Here’s the IP configuration of H2. Let’s see if we can reach the default gateway!
That’s also working. We know that the computers are not the issue because they know
how to get out of their own subnet and the default gateway is reachable. Time to check
out the switch (we are network engineers after all…). Just in case, let’s check the VLANs
and the interfaces:
https://networklessons.com/cisco/ccnp-tshoot/troubleshooting-inter-vlan-routing 2/5
1/19/23, 10:45 AM Troubleshooting Inter-VLAN Routing
We can see that H1 is in VLAN 10 and H2 is in VLAN 20. I didn’t check if the interfaces
were up/up because I was already able to ping the default gateway IP addresses. This
proves that fa0/1 and fa0/3 are working but I didn’t know yet to what VLAN they belong.
Here you can see the IP addresses on the SVI interfaces:
Two SVI interfaces have been configured. These are the IP addresses that the computers
use as default gateway. So why isn’t our switch routing traffic? Let’s check the routing
table of the switch:
SW1#show ip route
Default gateway is not set
Having IP addresses on interfaces doesn’t automatically mean that we are going to route
traffic. In order to do so we require a routing table. This switch doesn’t have one…let’s
enable routing:
SW1(config)#ip routing
Now the switch will build a routing table. Let’s see the difference:
This is looking better. The switch now knows where to forward IP packets to. Let’s try
that ping again:
There we go…the two computers can now reach each other! Problem solved.
https://networklessons.com/cisco/ccnp-tshoot/troubleshooting-inter-vlan-routing 3/5
1/19/23, 10:45 AM Troubleshooting Inter-VLAN Routing
Lesson learned: If you use a multilayer switch for interVLAN routing make sure the
SVI interfaces are configured correctly and that routing is enabled.
« Previous Lesson
Troubleshooting BGP Route
Next Lesson
Troubleshooting NAT / PAT »
Advertisement
Forum Replies
rohgamerps
ReneMolenaar
Hi Rohit,
Sorry for the late reply. In case anyone else reads this, I have two good documents of how to troubleshoot OSPF:
https://networklessons.com/cisco/ccnp-tshoot/troubleshooting-ospf-neighbor-adjacency/
https://networklessons.com/cisco/ccnp-tshoot/troubleshooting-ospf-route-advertisement/
wilder7bc
nice units so far. Only three more units to go until finish my first round of studying for Tshoot. I love learning and studying but sometimes when your
really hard at it for a few days some of the fun is lost and it becomes work.
pradyumnayadavgla
Hi Laz,
Is this possible to assign ip addresses of different n/w to vlans b/c here ports are switchport not routed. this dragged me in confusion regarding
assignment of the ip addresses to the VLAN, kindly clarify.
lagapides
Hello Pradyumna
You cannot assign IP addresses to switchports because they are Layer 2 ports, but you can assign VLANs to switchports. Each VLAN on a switch can have
one or more switchports assigned to it. In addition, each VLAN must have a configured SVI in order for hosts on that VLAN to be able to access other
networks. The SVI is configured with an IP address and acts as the default gateway for that subnet.
For this reason, IP addressing must correspond to the VLANs that exist on a switch. What this means is that a single VLAN will typically correspond t
https://networklessons.com/cisco/ccnp-tshoot/troubleshooting-inter-vlan-routing 4/5
1/19/23, 10:45 AM Troubleshooting Inter-VLAN Routing
6 more replies! Ask a question or join the discussion by visiting our Community Forum
https://networklessons.com/cisco/ccnp-tshoot/troubleshooting-inter-vlan-routing 5/5