Cisco Support Community
Showing results for 
Search instead for 
Did you mean: 
Community Member

Static Redistribution Question

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?


Re: Static Redistribution Question


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.



Community Member

Re: Static Redistribution Question

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

Hall of Fame Super Bronze

Re: Static Redistribution Question


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).



Community Member

Re: Static Redistribution Question


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.



Re: Static Redistribution Question


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.



CreatePlease to create content