08-16-2017 09:59 AM - edited 03-12-2019 02:49 AM
6 Aug 16 2017 17:33:05 110003 Ifc 8.8.4.4 0 Routing failed to locate next hop for icmp from NP Identity Ifc:x.x.2.50/0 to BTnet_2:8.8.4.4/0
08-16-2017 09:01 PM
Hi Elliot,
As a thumb rule, ASA will always use the default route with lower metric value. Your configuration has:
BTnet 0.0.0.0/0.0.0.0 GW: x.x.1.201 metric: 5
BTnet_2 0.0.0.0/0.0.0.0 GW: x.x.2.49 metric: 8
The preferred route in this case is : BTnet 0.0.0.0/0.0.0.0 GW: x.x.1.201 (since it has metric 5)
So when a packet is destined to 8.8.4.4, by default, the route that is taken is via BTnet interface since it has a lower metric.
But when you source a ping packet from BTnet_2, it also tries to use the default route which is associated with BTnet interface and since BTnet_2 doesn't know how to reach x.x.1.201, it throws the error
Routing failed to locate next hop
i.e. routing on ASA failed to locate the next hop(x.x.1.201) since it doesn't lie in the same network range of the address associated with BTnet_2 (x.x.2.50/29)
Summary:
If you source ping from BTnet, it will work:
e.g. ping BTnet 8.8.4.4
but if you source ping from BTnet_2, it won't.
e.g. ping BTnet_2 8.8.4.4
Hope that helps.
Regards,
Dinesh Moudgil
P.S. Please rate helpful posts.
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