vlans cannot ping router

Answered Question
Sep 19th, 2011

http://www.cisco.com/en/US/tech/tk389/tk815/technologies_configuration_example09186a008019e74e.shtml

we setup our switch according to the document linked above.  The nodes in the vlans can ping each other.  The switch can ping the router.  However, the nodes cannot ping the router.  I reviewed the TBS steps listed, but the issue still remains.  I think my addressing is correct because i can ping the router by logging on via terminal session and sending a ping with defaults.  However, if I set ping to use a vlan ip, it is unsuccessful.

Is there anything else I can try?

I have this problem too.
0 votes
Correct Answer by Jon Marshall about 2 years 7 months ago

Curtis

So clients in one vlan can ping clients in another vlan ?

If so couple of things to check (assuming you are using static routing and not a dynamic routing protocol) -

1) on the L3 switch you need a default-route pointing to the router LAN interface ie.

ip route 0.0.0.0 0.0.0.0

2) on the router you need to add routes for each of your vlans on the L3 switch ie.

ip route 192.168.5.0 255.255.255.0 

you need an ip route statement on the router for each of the L3 vlans on the switch.

Jon

  • 1
  • 2
  • 3
  • 4
  • 5
Average Rating: 5 (1 ratings)
Correct Answer
Jon Marshall Mon, 09/19/2011 - 16:01

Curtis

So clients in one vlan can ping clients in another vlan ?

If so couple of things to check (assuming you are using static routing and not a dynamic routing protocol) -

1) on the L3 switch you need a default-route pointing to the router LAN interface ie.

ip route 0.0.0.0 0.0.0.0

2) on the router you need to add routes for each of your vlans on the L3 switch ie.

ip route 192.168.5.0 255.255.255.0 

you need an ip route statement on the router for each of the L3 vlans on the switch.

Jon

csamuels99 Tue, 09/20/2011 - 06:34

Thanks, Jon.  You were right.  I was not using any dynamic routing protocol.  I was able to ping the router after adding the route int he router.  The default route was already setup.

Actions

Login or Register to take actions

This Discussion

Posted September 19, 2011 at 3:49 PM
Stats:
Replies:2 Avg. Rating:5
Views:824 Votes:0
Shares:0
Tags: No tags.

Discussions Leaderboard