PBR on MSFC
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-27-2007 05:49 AM - edited 03-03-2019 05:37 PM
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,
- Labels:
-
Other Routing
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-27-2007 09:42 AM
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
