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 Kristian Alexan... about 3 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
Overall Rating: 5 (1 ratings)
Correct Answer
Kristian Alexan... 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 Overall Rating:5
Views:174 Votes:0
Shares:0
Tags: No tags.
 

Discussions Leaderboard

Rank Username Points
1
Giuseppe Larosa
9,439
2
Paolo Bevilacqua
8,817
3
Richard Burts
8,484
4
Jon Marshall
7,143
5
Peter Paluch
5,501
Rank Username Points
Jon Marshall
114
Joseph W. Doherty
62
Leo Laohoo
49
Peter Paluch
35
Vasilii Mikhail...
30