cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2151
Views
0
Helpful
3
Replies

ip route command

Manoj Wadhwa
Level 1
Level 1

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 3

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.

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

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

HTH

Rick
Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Innovations in Cisco Full Stack Observability - A new webinar from Cisco