Wednesday, March 16, 2011

LAB: Reliable Static Routing with Enhanced Object Tracking


In this scenario R4 is using the layer 2 connectivity to switch 1 as the primary route, although R4 and R1 is on the same layer 2 segment, their physical ethernet interfaces are not on the same layer 1 network. It means R4 will not be able to track R1's connectivity to the switch if it is actually UP.

the solution is to create an IP SLA MONITOR instance, this will monitor R1 and then attaching creating an Enhanced Object tracking that watches the IP SLA monitor instance. This tracking will be attached on the static route.


R1:

ip route 150.1.4.0 255.255.255.0 155.1.0.4

R4:

ip sla monitor 1
type echo protocol ipIcmpEcho 155.1.146.1 source-interface
FastEthernet0/1
timeout 2000
frequency 5
ip sla monitor schedule 1 start-time now
!
track 1 rtr 1
!
ip route 150.1.1.0 255.255.255.0 155.1.146.1 track 1
ip route 150.1.1.0 255.255.255.0 155.1.0.5 2

R5:

ip route 150.1.1.0 255.255.255.0 155.1.0.1
ip route 150.1.4.0 255.255.255.0 155.1.0.4

No comments:

Post a Comment