08-07-2008 08:33 AM - edited 03-06-2019 12:40 AM
Does anyone know why when i show ip route to an internet address on a 6513 that has a static route 0.0.0.0 0.0.0.0 to my default gateway firewall. it shows route is not found in the routing table?
08-07-2008 10:36 AM
That's expected behaviour.
When you do a 'show ip route' for a specific destination, it would show you the next hop to reach that destination if it has one or would say '%subnet not in table'.
Default route is used when you do not have a route for a destination, so its technically not a route for that destination, its a gateway of last resort, kind of a dumyard for any unknown destinations.
03-05-2018 12:05 PM
So, in this case, it will use default gateway IP address to send packets. right?
03-05-2018 01:07 PM
Yes it would use the default gateway (gateway of last resort indicated in the routing table) to send traffic for which there is not a matching route in the routing table.
HTH
Rick
03-05-2018 03:12 PM
1. Will it be applicable to '%subnet not in table'. cases also?
2. Some case default gateway is not explicitly configured through static routes, but they are still appearing as a gateway of last resort? How are they getting injected into routing table? - Any example.
Regards,
Re
03-06-2018 05:25 AM
I am not sure that I really understand what you are trying to ask. Here is what I think you are trying to address.
1) if you do a show ip route for some address and get the response that subnet is not in the routing table then if there is a default gateway (gateway of last resort in the routing table) then the default route can be used to forward that traffic.
2) the gateway of last resort can be statically configured or can be dynamically learned by a routing protocol
HTH
Rick
08-07-2008 10:37 AM
Because the route is not in the routing table.
A default route will instruct the device to send all unknown routes over to the gateway. It does not populate the routing table with 'internet' routes.
HTH,
__
Edison.
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