Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Same-interface policy-routing issue

Status
Not open for further replies.

ToNieJa

Technical User
Oct 26, 2004
3
US
I am experiencing difficulty on using policy routing when trying to send packets out through the same interface that they came in on. That is:
Router A receives a packet on F0 192.168.1.1 /24 and I want to redirect it to router B 192.168.1.2. I don't have a specific destination, so I cannot set a static route, instead I set up a route map identifying the interesting inbound traffic and set my next-hop to 192.168.1.2. I apply the route map policy to F0 on router A. This does not function for some reason.
If I set my next hop to a different subnet (ie 192.168.2.1 /24), corresponding with a different interface it works fine, so I know the policy is correct. But when I try to send it back out the same interface it does not work.
Has anyone experienced this issue? Do I need to bounce it off of a loopback interface?
Thanks,
Jarek
 
Yep, I think that would be the issue. Send it out the loopback and that should fix it.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top