Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

ip route command

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

3 REPLIES

Re: ip route command

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.

New Member

Re: ip route command

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

Hall of Fame Super Silver

Re: ip route command

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

1707
Views
0
Helpful
3
Replies
CreatePlease login to create content