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 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?

Attachment: 
I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
thotsaphon Tue, 03/31/2009 - 10:54

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

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

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 Tue, 03/31/2009 - 11:17

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.

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

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

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

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

Actions

This Discussion