Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements
Webcast-Catalyst9k
New Member

Issue with static route with distance metric of 255

Not so much a problem as it is an observation. Has anyone had a problem creating a static route with a distance metric of 255 being inserted into the routing table? Does anyone know why a static route with a distance metric of 255 might not be placed in the routing table?

5 REPLIES
Hall of Fame Super Blue

Re: Issue with static route with distance metric of 255

As far as i know an admin distance of 255 means the route is unreachable so the route will not be inserted into the routing table.

Jon

New Member

Re: Issue with static route with distance metric of 255

Thanks Jon. I couldn't track down any information on it, but do you know why you'd ever want to put a route in like that if indeed 255 does make it unreachable?

Hall of Fame Super Blue

Re: Issue with static route with distance metric of 255

Daniel

To be honest no, nothing really occurs at the moment. I certainly haven't used an AD of 255 but perhaps there are others who may have some input.

Jon

Hall of Fame Super Gold

Re: Issue with static route with distance metric of 255

Daniel and Jon

It has been a while and I do not remember the details clearly but there was a situation in which we wanted to run a dynamic routing protocol with a router (which we did not control) and we wanted it to receive and process our updates but we did not want to put its routes into our routing table. Of the several alternatives that we considered the optimum choice was to set the Administrative Distance of the routes received from that neighbor to 255 which prevented them from being inserted into our routing table.

And the AD that is used by dynamic routing protocols is the same AD used for floating static routes.

One technical nit: an AD of 255 does not make the network unreachable. It makes the route not trustworthy enough to be inserted into the routing table.

New Member

Re: Issue with static route with distance metric of 255

Thanks for explaining Richard. That makes a lot of sense. I bet that's the answer I'm looking for.

Thanks again.

2057
Views
0
Helpful
5
Replies
CreatePlease to create content