cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
314
Views
0
Helpful
5
Replies

Static Redistribution Question

n.lehouillier
Level 1
Level 1

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 5.5.5.5 255.255.255.255 10.0.20.4 ) 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 5.5.5.5.

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?

5 Replies 5

Neil,

Your diagram is cool. 3 Dimensions (grin)

Well, You can ping 5.5.5.5 from Switch8 via 10.0.20.4. Right?

What about Switch2?

Please provide us with the configuration on Switch2. Can you ping 5.5.5.5 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.

HTH,

Toshi

Hi Toshi,

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

I will upload the configs tonight.

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

Edison Ortiz
Hall of Fame
Hall of Fame

Neil,

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

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

__

Edison.

Edison,

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

Switch 2:

ip route 5.5.5.5 255.255.255.255 10.0.20.4

5.5.5.5 Router:

ip route 0.0.0.0 0.0.0.0 10.0.20.4

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

Thanks...

Neil

Neil,

My typo made a story a bit longer.

Can you ping 5.5.5.5 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 5.5.5.5. But I cannot get there anyway (grin)"

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

HTH,

Toshi

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card