[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 311
  • Last Modified:

ip route - does the ip route 0.0.0.0 0.0.0.0 209.x.x.x supersede the other ip route commands?

I have a very basic IP Route question.

Is the route "ip route 0.0.0.0 0.0.0.0 209.x.x.x" used first and all other ip route commands bypassed OR is it only used if the packet doesn't have the ip desitination listed under the other ip route commands?

ip classless
ip route 0.0.0.0 0.0.0.0 209.x.x.x
ip route 10.0.0.0 255.0.0.0 10.35.208.1
ip route 10.3.0.0 255.255.0.0 209.x.x.x
ip route 10.28.0.0 255.255.0.0 209.x.x.x
ip route 10.35.48.0 255.255.240.0 209.x.x.x
ip route 10.36.128.0 255.255.240.0 209.x.x.x
ip route 10.45.0.0 255.255.240.0 209.x.x.x
ip route 10.45.48.0 255.255.254.0 Serial0/0/0:0
ip route 10.45.48.0 255.255.254.0 209.x.x.x
ip route 10.45.176.0 255.255.254.0 209.x.x.x
ip route 10.45.208.0 255.255.240.0 209.x.x.x
ip route 10.225.0.0 255.255.240.0 209.x.x.x
ip route 204.194.130.15 255.255.255.255 10.35.208.73

0
First Last
Asked:
First Last
2 Solutions
 
Mike_CarrollCommented:
It is used when none of the other routes apply. Think of it as the default.
0
 
millsclCommented:
No.  That essentially is a gateway of last resort.

As long as a more specific route to a destination exists, this one will not be used.

If no other route to the destination is in the routing table, the router will forward the packet to the next hop address you have defined.
0
 
First LastAuthor Commented:
Exactly what I hoped. Mike's and MillSci's quick clear answers increased my confidence to chop some of these "ip routes" out.

Thanks again!
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now