02-16-2023
08:27 AM
- last edited on
02-16-2023
09:26 PM
by
Translator
Hello. GIVEN:
ASA-5525# sh ip route
!! output omitted !! Gateway of last resort is 3.3.3.3 to network 0.0.0.0
ASA-5525# sh route 172.16.239.0
% Subnet not in table
S 0.0.0.0 0.0.0.0 [255/0] via 172.16.7.1, inside tunneled
Why is the gateway of last resort different than the below route?
What is the next hop for standard traffic to reach 172.16.239.0 ?
Thank you.
Solved! Go to Solution.
02-16-2023
09:31 AM
- last edited on
02-16-2023
10:10 PM
by
Translator
Why is the gateway of last resort different than the below route? for your case you have already have another default gw toward 3.3.3.3, so no need another default route
for point about if ASA can have two default route and which one will use it will use that without tunnelled for any traffic not from VPN.
to be sure run lab and always the ASA use the path toward the default gw WITHOUT TUNNELED
and I also check the
show route x.x.x.x
<<- if the route not direct or static or dynamic learn then the ASA not show the default GW it use.
02-16-2023 08:33 AM - edited 02-16-2023 08:34 AM
S 0.0.0.0 0.0.0.0 [255/0] via 172.16.7.1, inside tunneled <<- tunneled keyword make this Default GW use only by VPN anyconnect, remove it and check again
02-16-2023 08:39 AM
This is production environment. I think it is bad idea to remove this route.
My task involves routing endpoints through L2L tunnel. (The routing is not correct.)
Currently, what is the next hop for standard traffic to reach 172.16.239.0 ?
02-16-2023 08:49 AM
S 0.0.0.0 0.0.0.0 [255/0] via 172.16.7.1, inside <<- then only add other static route.
after you add above
Currently, what is the next hop for standard traffic to reach 172.16.239.0 ? it will be 172.16.7.1 and egress interface will be INSIDE
02-16-2023
09:04 AM
- last edited on
02-16-2023
09:29 PM
by
Translator
OK, you solved my specific question. May you please now answer my general question?...
ASA-5525# sh ip route
!! output omitted !! Gateway of last resort is 3.3.3.3 to network 0.0.0.0
Why is the gateway of last resort different than the below route?
ASA-5525# sh route 172.16.239.0
% Subnet not in table
S 0.0.0.0 0.0.0.0 [255/0] via 172.16.7.1, inside tunneled
Thank you.
02-16-2023 09:28 AM - edited 02-16-2023 09:52 AM
It looks like the AD is 255 (which means "infinite" metric) and do not install in routing table. So its probably using the 3.3.3.3 since it has a valid AD.
We would probably need the whole routing table to determine what decisions are being made.
-David
02-16-2023 11:43 AM
Standard Cisco devices label AD 255 as infinite.
My understanding is that ASA devices are different-- they label AD 255 as valid.
Correct or not correct?
02-16-2023 01:00 PM
Apologies. You are correct. I overlooked that and don't work with ASAs like I do IOS devices. It was a habit response.
02-16-2023
09:31 AM
- last edited on
02-16-2023
10:10 PM
by
Translator
Why is the gateway of last resort different than the below route? for your case you have already have another default gw toward 3.3.3.3, so no need another default route
for point about if ASA can have two default route and which one will use it will use that without tunnelled for any traffic not from VPN.
to be sure run lab and always the ASA use the path toward the default gw WITHOUT TUNNELED
and I also check the
show route x.x.x.x
<<- if the route not direct or static or dynamic learn then the ASA not show the default GW it use.
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