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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

route-map and ip next-hop

Status
Not open for further replies.

mb2

ISP
Jun 18, 2003
6
0
0
AU
I have the following route-map configured:

!
route-map unlimited-traffic permit 10
match ip address 101
set ip next-hop 203.63.121.150
!

access-list 101 remark ACL for Policy Routing to force certain subnets via Open-pipe
access-list 101 permit ip 203.149.70.0 0.0.0.255 any


Which works as expected, by forcing any ip range defined in acl 101, out via 203.63.121.150.

My problem is that even traffic from source acl 101, to destination that is local to our 7206 is also going to 203.63.121.150 first, then back to the 7206.

I would rather traffic destined for local ip's, not go via 203.63.121.150 - Would I need to add all local ranges to the ACL 101 (i.e. deny destination local_ranges)

Thanks in advance,
MB
 
Please disregard - Adding appropriate deny's fixed the problem.

Regards,
MB
 
The deny's needed to be before the permits.

MB
 
mb2,

You may like to give a try to "set interface" command before "set ip next-hop". If it could not resolve your issue, please let us know your "sho ip route" output.


Experimenter
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top