PBR on MSFC

Unanswered Question
Jun 27th, 2007
User Badges:


I'm trying to use PBR on a Catalyst 6509 whith MSFC2, with IOS Version 12.1(19)E.

I have defined the following PBR


route-map PBR permit 0

match ip address 102

set ip default next-hop 156.106.131.228


The ACL 102 is as follow:

permit ip 156.106.151.0 0.0.0.255 any log

Which simply states for routing all the source to the next-hop IP instead of the normal gateway.


On the interface, I have defined

interface Vlan114

ip address 156.106.151.1 255.255.255.0

ip ospf authentication-key 7

ip policy route-map PBR



The next hop 156.106.131.228 is directly attached to the router via a Vlan.


When trying to monitor it, I see

"policy rejected, normal forwarding"


Any Ideas ?


Tks,



  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
aravindhs Wed, 06/27/2007 - 09:42
User Badges:

You have specified "set ip default next-hop 156.106.131.228 " and NOT "set ip next-hop 156.106.131.228 "


The command "set ip default next-hop 156.106.131.228 " means, the router will route the packets to the next hop IP address 156.106.131.228 only if there is no route for it in the IP routing table.


So, in this case, there is a route for the desired destinations in the routing table which is why the normal routing is considered and the PBR is not.


Hope this helps.


Please Rate posts


Cheers

Arav

Actions

This Discussion