02-10-2009 11:52 PM - edited 03-04-2019 03:31 AM
Hi Friends,
Just would like to know what is the diffrence between the command "ip route 0.0.0.0 0.0.0.0" and "ip route 0.0.0.0 255.255.255.255" ??
Thanks in advance.
Regards,
Manoj
02-11-2009 12:34 AM
Hi,
if you use ip route 0.0.0.0 0.0.0.0 you insert in the routing table a default route.
instead if you use 0.0.0.0 255.255.255.255 you insert in the routing table only the route toward host 0.0.0.0
I hope this helps.
Best regards.
Massimiliano.
02-11-2009 12:45 AM
Hi Massimiliano,
Thanks for the reply. Since there is no host with ip 0.0.0.0, does it mean that this command ip route 0.0.0.0 255.255.255.255 does not have any impact ?
Regards,
Manoj
02-11-2009 04:44 AM
Manoj
Since there should not be a host with address 0.0.0.0 then the route to 0.0.0.0 255.255.255.255 would never be used.
HTH
Rick
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