06-04-2019 05:48 PM - edited 06-04-2019 05:59 PM
I have a WAN router that receives icmp pings it needs to respond to from a monitoring system. The router needs to send the reply back the same path / interface it was received by, however, I have not found a guaranteed way to do this. Typically the packet takes the routers best route for the return path vs the path the icmp came in on. Is there a way to make this happen?
06-05-2019 01:43 AM
Interested to know if this can be done.
I dont think this can be done. Router will take the best path.
06-05-2019 02:05 AM
Hello Schaef350,
you can try to use PBR for locally generated packets to override destination based routing
see
Packets that are generated by the router are not normally policy routed. However, you can use this command to policy route such packets. You might enable local policy routing if you want packets originated at the router to take a route other than the obvious shortest path.
see
https://www.cisco.com/c/en/us/td/docs/ios/iproute_pi/command/reference/iri_book/iri_pi1.html
This may be an approximate solution you need to know on what interface you have received the ICMP request from the management server.
Hope to help
Giuseppe
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