Static Redistribution Question

Unanswered Question
Mar 31st, 2009

I am trying to change where I redistribute static routes from. I have attached the diagram of the environment I am testing this with.

Currently I have a static route on Switch 8: (ie. ip route ) which is then redistributed into OSPF. Everything works fine.

When I try and move the static route to Switch 2 (ie. remove static route from switch 8 and add to switch 2 and redistribute from switch 2) I am no longer able to ping

Can someone explain to me if this is the only way I can do this(ie. redistributed from switch 8) or am I doing something wrong?

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
thotsaphon Tue, 03/31/2009 - 10:54


Your diagram is cool. 3 Dimensions (grin)

Well, You can ping from Switch8 via Right?

What about Switch2?

Please provide us with the configuration on Switch2. Can you ping from Switch8?

When you do a redistribute static command just to make sure that the device can reach the destination via the next-hop you configured.



n.lehouillier Tue, 03/31/2009 - 12:22

Hi Toshi,

I can ping from Switch 8 via when redistributing from switch 2.

I will upload the configs tonight.

Before I redistribute from Switch 2 I can do a ping to no problem. When I enable redistribution from Switch 2 I am still able to ping but not

Edison Ortiz Tue, 03/31/2009 - 11:17


Switch 2's next hop isn't the same as Switch 8's next hop.

In order to have reachability to, the Switch 2's next hop must have routing information to and must have routing information back to the source (Switch 2's egress interface).



n.lehouillier Tue, 03/31/2009 - 12:26


this is how I have it configured on both Switch 2 and router:

Switch 2:

ip route Router:

ip route

I will try and upload the show ip route tonight. Let me know if you have any other ideas.



thotsaphon Tue, 03/31/2009 - 12:31


My typo made a story a bit longer.

Can you ping from the switch2?

If not, It will not work on the switch2.

Because the static route you redistributed will tell other routers. "Hey guys please use me to get But I cannot get there anyway (grin)"

Is the next-hop of the switch2 as well? You should not do recursive routing for this.




This Discussion