11-30-2018 02:41 PM - edited 02-21-2020 08:31 AM
I'm using an ASA 5506-X
I decided to go with a static default route in my configuration
I'm not connected yet to the internet, but I assume that is not necessary for configuration.
My understanding is the default static route configuration on an ASA is like this:
route outside 0.0.0.0 0.0.0.0 x.x.x.x
or simply:
route outside 0 0 x.x.x.x
(where x.x.x.x is the next hop, i.e the ISP router)
The commands are entered, and the route shows up on show run route, so all seems fine.
However, when I issue the show route command, and view the routing table, it still says gateway of last resort is not set.
Solved! Go to Solution.
11-30-2018 03:51 PM
Reference doc here
"Static routes remain in the routing table even if the specified gateway becomes unavailable. If the specified gateway becomes unavailable, you need to remove the static route from the routing table manually. However, static routes are removed from the routing table if the specified interface goes down. They are reinstated when the interface comes back up. "
Plug the ASA into a switch, any switch, before taking it onsite and the default route should be added to the routing table once the interface is up.
HTH
11-30-2018 02:49 PM
route outside 0.0.0.0 0.0.0.0 x.x.x.x - is the right command
but do you have outside interface configured and connected ?
11-30-2018 02:52 PM
11-30-2018 03:21 PM
It is not administratively down. It is down/down only because it's not connected to anything.
11-30-2018 03:30 PM
You need to connect and test it.
11-30-2018 03:30 PM
11-30-2018 03:34 PM
May I ask for the technical reason why that would be the case?
Why would the device not add a statically configured route to the routing table? It doesn't need to detect it as it would a directly connected route, or receive any routing updates to confirm. So I'm not seeing the technical reason it would not be in the routing table.
I want to be more confident that the configuration is done correctly before I take it to the site for installation.
11-30-2018 03:51 PM
Reference doc here
"Static routes remain in the routing table even if the specified gateway becomes unavailable. If the specified gateway becomes unavailable, you need to remove the static route from the routing table manually. However, static routes are removed from the routing table if the specified interface goes down. They are reinstated when the interface comes back up. "
Plug the ASA into a switch, any switch, before taking it onsite and the default route should be added to the routing table once the interface is up.
HTH
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