LoadBalancer#

!
ip cef

ip sla monitor 1
 type echo protocol ipIcmpEcho 200.100.50.101 source-ipaddr 192.168.1.111
 timeout 2000
 threshold 2000
 frequency 3
ip sla monitor schedule 1 life forever start-time now
ip sla monitor 2
 type echo protocol ipIcmpEcho 200.100.50.101 source-ipaddr 192.168.1.111
 timeout 2000
 threshold 2000
 frequency 3
ip sla monitor schedule 2 life forever start-time now
ip sla monitor 3
 type echo protocol ipIcmpEcho 200.100.50.102 source-ipaddr 192.168.1.111
 timeout 2000
 threshold 2000
 frequency 3
ip sla monitor schedule 3 life forever start-time now
ip sla monitor 4
 type echo protocol ipIcmpEcho 200.100.50.102 source-ipaddr 192.168.1.111
 timeout 2000
 threshold 2000
 frequency 3
ip sla monitor schedule 4 life forever start-time now
!
!
!
track 10 rtr 1 reachability
!
track 20 rtr 2 reachability
!
track 30 rtr 3 reachability
!
track 40 rtr 4 reachability
!
track 100 list boolean or
 object 10
 object 20
!
track 200 list boolean or
 object 30
 object 40
!
!
!
interface FastEthernet0
 ip address 192.168.1.111 255.255.0.0
 ip route-cache same-interface
 speed auto
!
ip route 0.0.0.0 0.0.0.0 192.168.1.100 track 100
ip route 0.0.0.0 0.0.0.0 192.168.1.101 track 200
ip route 200.100.50.102 255.255.255.255 192.168.1.101
ip route 200.100.50.102 255.255.255.255 192.168.1.101
ip route 200.100.50.101 255.255.255.255 192.168.1.100
ip route 200.100.50.101 255.255.255.255 192.168.1.100

!
ip access-list extended External_VPN_access
   permit tcp host 192.168.1.150 eq 1723 any
   permit icmp host 192.168.1.150 any echo-reply
!
route-map External_VPN permit 10
match ip address External_VPN_access
set ip next-hop 192.168.1.101
!
ip local policy route-map External_VPN

!
!
LoadBalancer#