policy route to redirect traffic

Answered Question
Feb 3rd, 2012

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

I have this problem too.
0 votes
Correct Answer by kristianbrun about 2 years 2 months ago

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
  • 2
  • 3
  • 4
  • 5
Average Rating: 5 (1 ratings)
Correct Answer
kristianbrun Fri, 02/03/2012 - 15:51

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

Actions

Login or Register to take actions

This Discussion

Posted February 3, 2012 at 3:27 PM
Stats:
Replies:1 Avg. Rating:5
Views:170 Votes:0
Shares:0
Tags: No tags.

Discussions Leaderboard