ACL Routing

Unanswered Question
Jan 29th, 2009

Is it possible to route based on whether a specific subnet is part of an ACL and how do I go about configuring, eg a static route exits 1.10.10.0 255.255.255.0 10.10.10.1 but only if the packet coming in is a member of a particular ACL.

Any help would be much appreciated.

Thanks

Jon

I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
kwillacey Thu, 01/29/2009 - 05:33

If I understand what you are saying you would need policy routing for that but the static routes would not come into play unless there was no match on the acl.

access-list 101 permit ip 192.168.1.4 0.0.0.3 any

route-map TRAFFIC permit 10

match ip address 101

set ip next-hop 2.2.2.2

So as above anything that falls in the subnet defined by the acl would be sent to the router with the ip 2.2.2.2 as the next hop.

Hope this helps.

Also you would need to apply that route map to the correct interface ie the interface the traffic would originate.

int f0/0

ip policy route-map TRAFFIC

Actions

This Discussion