09-07-2017 06:19 AM - edited 03-05-2019 09:06 AM
Hi
Can anyone explain me how different between
1)static default route
2)ip default-network
Solved! Go to Solution.
09-07-2017 06:26 AM
Hi,
Very shortly, ip default-network should not be used at all today. It was used in old IGRP years and years back - its purpose was to flag a specific classful network not belonging to your autonomous system as a "candidate default network". The path toward this "candidate default network" was then also used as a path toward the default route. However, the use of ip default-network required you to redistribute this classful network into IGRP or EIGRP, and have it flagged with this command on the router that performed the redistribution. The command did not really work with classless networks (there were some nasty hacks around it), and all in all, it is truly a fossil of ages past that is best forgotten.
Today, we should always use the 0.0.0.0/0 as the default route, and because - sadly - EIGRP still does not support the default-information originate command, the easiest way to inject this route into EIGRP is to redistribute it.
You might be interested in reading the following document, too:
https://www.cisco.com/c/en/us/support/docs/ip/routing-information-protocol-rip/16448-default.html
Feel welcome to ask further!
Best regards,
Peter
09-07-2017 06:26 AM
Hi,
Very shortly, ip default-network should not be used at all today. It was used in old IGRP years and years back - its purpose was to flag a specific classful network not belonging to your autonomous system as a "candidate default network". The path toward this "candidate default network" was then also used as a path toward the default route. However, the use of ip default-network required you to redistribute this classful network into IGRP or EIGRP, and have it flagged with this command on the router that performed the redistribution. The command did not really work with classless networks (there were some nasty hacks around it), and all in all, it is truly a fossil of ages past that is best forgotten.
Today, we should always use the 0.0.0.0/0 as the default route, and because - sadly - EIGRP still does not support the default-information originate command, the easiest way to inject this route into EIGRP is to redistribute it.
You might be interested in reading the following document, too:
https://www.cisco.com/c/en/us/support/docs/ip/routing-information-protocol-rip/16448-default.html
Feel welcome to ask further!
Best regards,
Peter
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