Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements
Webcast-Catalyst9k
New Member

PBR_Tracking

We are planning to use PBR routing to route internet traffic via DSL...I wanted to know what to track ....Please review and let me know your thoughts

access-list 100 permit tcp 10.1.1.0 0.0.0.255 any eq www
access-list 100 permit tcp 10.1.1.0 0.0.0.255 any eq 443
access-list 101 permit ip any any

route-map Load_balance permit 10
match ip address 100
set ip next-hop verify-availability  ??????? 1 track 20
!
route-map Load_balance  permit 30
match ip address 101
set ip next-hop verify-availability  ?????? 2 track 10

track 10 rtr 1 reachability
delay down 1 up 1
!
track 20 rtr 2 reachability
delay down 1 up 1

ip sla 1
icmp-echo 10.13.0.1
timeout 500
frequency 1
ip sla schedule 1 life forever start-time now

ip sla 2
icmp-echo 152.177.46.133
timeout 500
frequency 1
ip sla schedule 2 life forever start-time now

ip route 0.0.0.0 0.0.0.0 10.1.1.1 track 10
ip route 0.0.0.0 0.0.0.0 10.1.1.2 track 20

Int vlan 1
ip policy route-map Load_balance

Regards Vinayak
1 REPLY

PBR_Tracking

I'm not sure, but you actually don't need "route-map Load_balance  permit 30", because you use aceess-list 101 with "prmit any" and may be it's better to  let the normal routing table to do the  routing for traffic which is NOT in access-list 100.

And be sure that IP  152.177.46.133 is not reachable somehow in case your DSL is down.

156
Views
0
Helpful
1
Replies
CreatePlease to create content