cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1777
Views
15
Helpful
6
Replies

Routes with a 255 administrative distance are considered unreachable?

MicJameson1
VIP Alumni
VIP Alumni

GIVEN:    "S 0.0.0.0 0.0.0.0 [255/0] via 172.16.1.1, inside tunneled"

My understanding is that routes with a 255 administrative distance (AD) are considered unreachable. Is this correct?

If the above route has an AD of 255, will it ever be used at all?

Thank you.

2 Accepted Solutions

Accepted Solutions

balaji.bandi
Hall of Fame
Hall of Fame

Hi @MicJameson1 ,

Let me take a step back. I assumed you were asking about IOS, but it looks like it might be referring to ASA, right? ASA behaves differently and considers an administrative distance (AD) of 255 as the worst AD, but still considers it as valid.

This different ASA behavior only applies to the ASA "tunneled default route" feature. The behavior is exactly the same as IOS if the administrative distance is set to 255 on any other route. 

ciscoasa# sh runn | incl route
route Inside 0.0.0.0 0.0.0.0 192.168.12.1 tunneled

ciscoasa# sh route 0.0.0.0 0.0.0.0
S 0.0.0.0 0.0.0.0 [255/0] via 192.168.12.1, Inside tunneled

Regards,

Regards,
Harold Ritter, CCIE #4168 (EI, SP)

View solution in original post

6 Replies 6

balaji.bandi
Hall of Fame
Hall of Fame

Is it a practice to insert such a static route just as a type of engineer note for all who inspect the routing table?

Hi @MicJameson1 ,

Let me take a step back. I assumed you were asking about IOS, but it looks like it might be referring to ASA, right? ASA behaves differently and considers an administrative distance (AD) of 255 as the worst AD, but still considers it as valid.

This different ASA behavior only applies to the ASA "tunneled default route" feature. The behavior is exactly the same as IOS if the administrative distance is set to 255 on any other route. 

ciscoasa# sh runn | incl route
route Inside 0.0.0.0 0.0.0.0 192.168.12.1 tunneled

ciscoasa# sh route 0.0.0.0 0.0.0.0
S 0.0.0.0 0.0.0.0 [255/0] via 192.168.12.1, Inside tunneled

Regards,

Regards,
Harold Ritter, CCIE #4168 (EI, SP)

God bless you sir for saving me indefinite hours and headache!

You are very welcome @MicJameson1 and thanks for the feedback

Regards,
Harold Ritter, CCIE #4168 (EI, SP)

Harold Ritter
Spotlight
Spotlight

Hi @MicJameson1 ,

You are right.

The following document says:

* If the administrative distance is 255, the router does not believe the source of that route and does not install the route in the routing table.

https://www.cisco.com/c/en/us/support/docs/ip/border-gateway-protocol-bgp/15986-admin-distance.html

Regards,

Regards,
Harold Ritter, CCIE #4168 (EI, SP)