cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
5327
Views
0
Helpful
4
Replies

Can't ping through SVI

ashwanipatel1
Level 1
Level 1

I fell into a weird issue while testing the SVI. The scenario is pretty simple. I have one L3 swicth 3750 with IP routing enabled.

Switch has two vlans- vlan 1 and vlan 10

Both have SVIs and are up

Interface Vlan 1

ip add 10.10.10.1 255.255.255.0

no shut

interface vlan 10

ip add 192.168.1.1 255.255.255.0

no shut

The routers as hosts are able to ping eachother as they are in same segment. but routers can ping interface vlan 1 10.10.10.1

I test with other vlan -say SVI vlan 30, but they can't pint it too.

Please see the attached diagram

4 Replies 4

Peter Paluch
Cisco Employee
Cisco Employee

Hi,

Are the routers configured either with a default route pointing to 192.168.1.1, or at least with a route toward 10.10.10.0/24 pointing to 192.168.1.1? If not then these routers have no idea whether 10.10.10.1 exists, and if so, how to reach it.

Best regards,
Peter

Hi Paul,

The routers have default routes and the next hop is SVI 192.168.1.1

ip route 0.0.0.0 0.0.0.0 192.168.1.1

FYI there is no device connected to switch except these two routers.

Hi,

Okay. Can you confirm that these two routers can ping their gateway 192.168.1.1?

Nonetheless, you have just said that there is no other device connected to the switch except these routers, and the routers are connected to ports placed in VLAN10. That means that there is no switchport in VLAN1 that would currently be up. As a result, the switch has no physical port capable of delivering frames to and from VLAN1. As a result, I suspect that the interface Vlan1 on your switch is currently up, protocol down (check the show ip interface brief closely). That would explain why you cannot ping 10.10.10.1 - because the switch keeps the SVI for VLAN1 down if it has no physical switchports alive in VLAN1.

Best regards,
Peter

Hello,

Based on the information given, it is very likely that the scenario described by Peter is happening.  If there is no interface in up/up state which is a member of vlan1's SVI, then interface vlan1 will be in up/down state, preventing a ping from either PC to the 10.10.10.1 on vlan1. 

Can you "show ip interface brief" and provide us with the results to verify?  I am guessing this is just a testing environment.  Do you need to reach 10.10.10.1 on vlan1 just for management? If so, you could use a loopback interface and assign 10.10.10.1. 

Regards,

Robert