cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
372
Views
1
Helpful
2
Replies

DHCP to router interface

Nader ibrahimi
Level 1
Level 1

Naderibrahimi_0-1743059995060.png

Hello to everyone 

I used the dynamic means dhcp method in order to assign ip address to the router interface whenever i used the show ip route command i encounter to a new option as above picture [254/0]  

My question is what is exactly the 254 means ?although i know the 0 means AD.

Require details information  

1 Accepted Solution

Accepted Solutions

Hello


@Nader ibrahimi wrote:

Naderibrahimi_0-1743059995060.png

My question is what is exactly the 254 means ?although i know the 0 means AD.



Thas the administrative distance (254) applied to a received default route from dhcp, hence usually its recommended to override that dynamic default route allocation with a static default route which will have an administrative distance of 1 by default

example:
ip route 0.0.0.0 0.0.0.0 eth0/1 10.1.1.1


Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul

View solution in original post

2 Replies 2

Hello


@Nader ibrahimi wrote:

Naderibrahimi_0-1743059995060.png

My question is what is exactly the 254 means ?although i know the 0 means AD.



Thas the administrative distance (254) applied to a received default route from dhcp, hence usually its recommended to override that dynamic default route allocation with a static default route which will have an administrative distance of 1 by default

example:
ip route 0.0.0.0 0.0.0.0 eth0/1 10.1.1.1


Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul

Blue_Bird
VIP
VIP

Hello @Nader ibrahimi 

In a Cisco routing table, "[254/0]" represents a static route with an administrative distance of 254. This means the route is manually configured and has a lower priority than routes learned via dynamic routing protocols (which typically they have administrative distances less than 254)

Best regards
******* If This Helps, Please Rate *******