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

Routes with a 255 administrative distance are considered unreachable?

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 @jmaxwellUSAF ,

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,

Harold Ritter
Sr Technical Leader
CCIE 4168 (R&S, SP)
harold@cisco.com
México móvil: +52 1 55 8312 4915
Cisco México
Paseo de la Reforma 222
Piso 19
Cuauhtémoc, Juárez
Ciudad de México, 06600
México

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 @jmaxwellUSAF ,

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,

Harold Ritter
Sr Technical Leader
CCIE 4168 (R&S, SP)
harold@cisco.com
México móvil: +52 1 55 8312 4915
Cisco México
Paseo de la Reforma 222
Piso 19
Cuauhtémoc, Juárez
Ciudad de México, 06600
México

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

You are very welcome @jmaxwellUSAF and thanks for the feedback

Harold Ritter
Sr Technical Leader
CCIE 4168 (R&S, SP)
harold@cisco.com
México móvil: +52 1 55 8312 4915
Cisco México
Paseo de la Reforma 222
Piso 19
Cuauhtémoc, Juárez
Ciudad de México, 06600
México

Harold Ritter
Cisco Employee
Cisco Employee

Hi @jmaxwellUSAF ,

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,

Harold Ritter
Sr Technical Leader
CCIE 4168 (R&S, SP)
harold@cisco.com
México móvil: +52 1 55 8312 4915
Cisco México
Paseo de la Reforma 222
Piso 19
Cuauhtémoc, Juárez
Ciudad de México, 06600
México
Review Cisco Networking for a $25 gift card