ip route command

Unanswered Question
Feb 10th, 2009

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

I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
massimiliano.se... Wed, 02/11/2009 - 00:34

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.

Manoj Wadhwa Wed, 02/11/2009 - 00:45

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

Richard Burts Wed, 02/11/2009 - 04:44

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

Actions

This Discussion