cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
274
Views
0
Helpful
1
Replies

Problem with route-maps and PBR

martinkluge
Level 1
Level 1

Hi,

I have the following problem:

I have a Cisco 7120-SMI3 and I'm doing NAT for some customers. Other customers have static IPs which are routed over 2 different interfaces. For NAT I have a route-map applied on the outgoing interface:

route-map n permit 10

match ip address route_map_nat

set interface Dialer1

route-map n permit 20

set ip next-hop 1.1.1.1 2.2.2.2

set interface FastEthernet0/0 FastEthernet 1/0

route-map n deny 30

I also have to static default routes, one with a higher metric (floating routes).

The problem is, that when the line protocol of FastEthernet0/0 goes down,

the default route gets set to the one with the higher metric, but the route-map where I set the next-hop stillt points to the next-hop of the first interface and so the packets get to /dev/null

I thought about PBR support for multiple tracking objects, but this is only supported in 12.4 which my 7120 doesn't support (http://www.cisco.com/en/US/products/ps6350/products_configuration_guide_chapter09186a0080457bcc.html#wp1027265)

Is there any other possible solution for my problem?

Thank you,

Martin

1 Reply 1

bwalchez
Level 4
Level 4

Try using the access list so that you can filter the trafiic to appropriate interface.On 7120 by disabling ip cef the ip policy routing works.

Review Cisco Networking for a $25 gift card