Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

policy route to redirect traffic

Hi

Trying to redirect one subnet (10.1.96.0/24) to go different route, could any one advice me if it is possible? if so, please advice how to do it?

My router has two pathes for default (0.0.0.0 0.0.0.0) one go 10.1.2.20, this one is active one, (current route); one goes 10.1.6.20, this one is backup one, (not on routing table current, basic it is last resourse).

I want to let traffic from 10.1.96.0/24 go to 10.1.6.20 for external site. I did:

ip access-list extended fw-test-ip

  permit ip host 10.1.96.3 any

route-map fw-test permit 10

  match ip address fw-test-ip

  set ip next-hop 10.1.6.20

It is not working.

Any comments will be appreciated

Thanks in advance

julxu

1 ACCEPTED SOLUTION

Accepted Solutions

policy route to redirect traffic

Hi,

I believe you only configured 1 host address in the ACL for testing purposes.

But where did you apply the route-map? It should be configured on the interface that traffic from 10.1.96.0/24 is coming IN on with "ip policy route-map fw-test-ip" since PBR decisions are made when a packet enters the router, not leaving.

Regards,

Kristian

1 REPLY

policy route to redirect traffic

Hi,

I believe you only configured 1 host address in the ACL for testing purposes.

But where did you apply the route-map? It should be configured on the interface that traffic from 10.1.96.0/24 is coming IN on with "ip policy route-map fw-test-ip" since PBR decisions are made when a packet enters the router, not leaving.

Regards,

Kristian

184
Views
0
Helpful
1
Replies