cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
295
Views
0
Helpful
2
Replies

default route

victormitu
Level 1
Level 1

hi... there is somebody to explain me the difference between:

ip route 0.0.0.0 0.0.0.0 <next_hop>

and

ip default-network x.x.x.x

?

thanks

2 Replies 2

amit-singh
Level 8
Level 8

ip default-network x.x.x.x

This command selects a network as a candidate route for computing the gateway of last resort. If there are several choices, the one with the best metric is chosen

Using ip route 0.0.0.0 0.0.0.0 next-hop,the router will consider all of the destinations that the router does not know how to reach through some other route reachable via next-hop IP.

Moreove both the commands does the same funrction and are used for the same purpose.

http://www.netcraftsmen.net/welcher/papers/default.htm

HTH,

-amit singh

Kevin Dorrell
Level 10
Level 10

Victor,

There is a great TAC document about default routes, which should answer your question and the ones that follow from it too:

http://www.cisco.com/en/US/customer/tech/tk365/technologies_tech_note09186a0080094374.shtml

Kevin Dorrell

Luxembourg

Review Cisco Networking for a $25 gift card