07-04-2005 03:12 AM - edited 03-02-2019 11:17 PM
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
07-04-2005 03:30 AM
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
07-04-2005 04:02 AM
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
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide