cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1880
Views
5
Helpful
15
Replies

PBR troubbleshooting

B@B@r
Level 1
Level 1

pbrrr.png

 

Dear all,

 i am trying to learning PBR my topology is mentioned above i am using EIGRP and i have two gateways one is 256k and other is 512K so eigrp choose 512K as high bandwidth.

so now i am tyring to do is that if pc pings to ip 22.22.22.22 it would go through s1/0

but i failed 

 

here is my configuration of R1 for PBR

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

ip local policy route-map gateway
ip forward-protocol nd
!
!
no ip http server
no ip http secure-server
!
access-list 100 permit ip host 1.1.1.2 host 22.22.22.22
!
route-map gateway permit 1
match ip address 100
set ip next-hop 10.12.0.2
!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

but my result is still the default route set by eigrp

 

PC1> trace 22.22.22.22
trace to 22.22.22.22, 8 hops max, press Ctrl+C to stop
1 1.1.1.1 15.626 ms 16.111 ms 21.796 ms
2 10.13.0.2 46.880 ms 53.051 ms 53.038 ms
3 *22.22.22.22 84.309 ms (ICMP type:3, code:3, Destination port .

 

 

 

i need your assistance..

 

15 Replies 15

The command on the interface is only applicable for packets coming into that interface. If you want to use PBR for packets that are generated by the router itself (for example, a ping from the router, a telnet session from the router or anything else that the router generates itself instead of receiving it on an interface), you need the local policy command. It's kind of difficult to explain.