cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1216
Views
30
Helpful
14
Replies

Cannot get Inter-VLAN routing to work

ruyelpequenocid
Level 1
Level 1

The router at the top is from the ISP and I have no control over things like WAN, NAT, etc.

Network 192.168.1.1/24 is fine, but I cannot get inter-VLAN routing between VLANs 1 and 55.

PC 1 cannot even ping the gateway of the other network at 192.168.55.1.

PC 2 cannot even ping the gateway of the other network at 192.168.1.1.

What am I missing here?

 

Switch configurations:

ip routing

interface Vlan1
ip address 192.168.1.2 255.255.255.0

interface Vlan55
ip address 192.168.55.1 255.255.255.0

ip route 0.0.0.0 0.0.0.0 192.168.1.1

 

[diagram updated]

ruyelpequenocid_0-1667514648437.png

 

 

2 Accepted Solutions

Accepted Solutions

You design is wrong
You need to make 
L3SW do inter-vlan and in this case you need to change the GW in PC VLAN1 to be IP of SVI of VLAN1 in L3SW
or 
Router do inter-vlan and in this case you need to connect SW-R with trunk and config router with subinterface for VLAN1 and VLAN55

View solution in original post

one last pieces need to add to make ping all work 
in ISP router add static route 

ip route 192.168.55.0 255.255.255.0 192.168.1.102 <<- this only 

View solution in original post

14 Replies 14

what are the gateways configured on PCs ?

Please rate this and mark as solution/answer, if this resolved your issue
Good luck
KB

Yes, gateways are configured. Please see updated diagram. Thanks.

NetworkDave
Spotlight
Spotlight

@ruyelpequenocid,

Is the switch configured for inter-VLAN routing? Please provide the switch "running-config".

HTH
----------------------------------------------------------------------------------------------------
Remember to mark helpful posts and mark the correct answer as a solution; It helps other users with similar questions.

ip routing

interface Vlan1
ip address 192.168.1.2 255.255.255.0

interface Vlan55
ip address 192.168.55.1 255.255.255.0

ip route 0.0.0.0 0.0.0.0 192.168.1.1

If this is your last config then it perfect,

You need only change defualt gw in pc to be vlan ip.

balaji.bandi
Hall of Fame
Hall of Fame

First i would ask some questions :

1. Can PC1 able to ping 192.168.1.2 ( what is the gateway configured on the PC1 ?)

2. Can PC2 able to ping 192.168.55.1 ( what is the gateway configured on the PC2 ?)

also change the  below if you lookingg to routing take place :

change below :

no IP default gateway 192.168.1.1

IP route 0.0.0.0 0.0.0.0 192.168.1.1

--

Still not working post below information :

show IP interface brief

show IP arp

show vlan

 

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

Yes, those PCs can ping their gateways without issue.

PC2 (VLAN 55) can also ping 192.168.1.2 (the address of SVI VLAN 1) but no other address in that network.

 

Here is the output from the show commands:

 

Switch#show ip interface brief
Interface              IP-Address      OK? Method Status     Protocol
Vlan1                  192.168.1.2     YES manual up         up
Vlan55                 192.168.55.1    YES manual up         up

 

 

 

Switch#show ip arp
Protocol  Address          Age (min)  Hardware Addr   Type   Interface
Internet  192.168.1.1             0   aaaa.bbbb.cccc  ARPA   Vlan1
Internet  192.168.1.2             -   aaaa.bbbb.cccc  ARPA   Vlan1
Internet  192.168.1.11            0   aaaa.bbbb.cccc  ARPA   Vlan1
Internet  192.168.55.1            -   aaaa.bbbb.cccc  ARPA   Vlan55

 

 

 

Switch#show vlan

VLAN Name                             Status    Ports
---- -------------------------------- --------- -------------------------------
1    default                          active    Gi0/1, Gi0/2, Gi0/3, Gi0/4, Gi0/5, Gi0/6, Gi0/7
55   VLAN0055                         active    Gi0/8
1002 fddi-default                     act/unsup
1003 token-ring-default               act/unsup
1004 fddinet-default                  act/unsup
1005 trnet-default                    act/unsup

VLAN Type  SAID       MTU   Parent RingNo BridgeNo Stp  BrdgMode Trans1 Trans2
---- ----- ---------- ----- ------ ------ -------- ---- -------- ------ ------
1    enet  100001     1500  -      -      -        -    -        0      0
55   enet  100055     1500  -      -      -        -    -        0      0
1002 fddi  101002     1500  -      -      -        -    -        0      0
1003 tr    101003     1500  -      -      -        -    -        0      0
1004 fdnet 101004     1500  -      -      -        ieee -        0      0
1005 trnet 101005     1500  -      -      -        ibm  -        0      0

Remote SPAN VLANs
------------------------------------------------------------------------------


Primary Secondary Type              Ports
------- --------- ----------------- ------------------------------------------

 

 

Looks Cisco messaging system playing here.

as long as all the devices are put the gateway as Switch SVI, you are ok and works as expected.

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

You design is wrong
You need to make 
L3SW do inter-vlan and in this case you need to change the GW in PC VLAN1 to be IP of SVI of VLAN1 in L3SW
or 
Router do inter-vlan and in this case you need to connect SW-R with trunk and config router with subinterface for VLAN1 and VLAN55

Thanks so much. You were spot on, once I used the SVI of VLAN1 as gateway I started seeing connectivity.

The final goal was always more than just inter-VLAN routing, of course. The final goal is for all the networks to be able to reach the Internet too. I think given the scenario I have, this is all I can do with this equipment.

The "No" instances in my second diagram are related to my inability to add a route in the ISP router to reach VLAN55. I cannot add the route because that's a home router which does not have that capability.

My final diagram below.

diagram 2diagram 2

 

one last pieces need to add to make ping all work 
in ISP router add static route 

ip route 192.168.55.0 255.255.255.0 192.168.1.102 <<- this only 

Exactly!

I may have to change that router for something more network-person-friendly. The current router they provide works fine but it has hardly any options for configuration by the user. It's a Google Fiber router model AC-1304. Management is done via cloud, through the Google Home app. No hope.

Thanks again so much for all the assistance and follow up!

by the way your diagram super super prefect.

Thanks!

Review Cisco Networking for a $25 gift card