Sunday, November 9, 2014

How to apply static route in subinterface as redundant link.

How to apply static route in subinterface, use as a redundant link.

Add caption

 

 

 

 

 

 

 

 

 

 

 R4

interface FastEthernet1/1
 ip address 192.168.3.1 255.255.255.0
 no sh

interface FastEthernet1/0
 no sh
interface FastEthernet1/0.10
 encapsulation dot1Q 10
 ip address 10.10.10.1 255.255.255.252

interface FastEthernet1/0.20
 encapsulation dot1Q 20
 ip address 20.20.20.1 255.255.255.252

 ip route 30.30.30.0 255.255.255.252 20.20.20.2

ip sla monitor 1
 type echo protocol ipIcmpEcho 10.10.10.2 source-interface FastEthernet1/0.10
 threshold 500
 frequency 5
ip sla monitor schedule 1 life forever start-time now
track 1 rtr 1 reachability
ip route 192.168.50.0 255.255.255.0 10.10.10.2 track 1

ip sla monitor 2
 type echo protocol ipIcmpEcho 30.30.30.1 source-interface FastEthernet1/0.20
 threshold 500
 frequency 5
ip sla monitor schedule 2 life forever start-time now
track 2 rtr 2 reachability
ip route 192.168.50.0 255.255.255.0 20.20.20.2 2 track 2

                  R6

 interface FastEthernet1/0
 no sh
!
interface FastEthernet1/0.20
 encapsulation dot1Q 20
 ip address 20.20.20.2 255.255.255.252

interface FastEthernet1/1
 no sh

interface FastEthernet1/1.30
 encapsulation dot1Q 30
 ip address 30.30.30.2 255.255.255.252

ip route 192.168.3.0 255.255.255.0 20.20.20.1
ip route 192.168.50.0  255.255.255.0 30.30.30.1

        R5

interface FastEthernet1/1
 ip address 192.168.50.1 255.255.255.0
     no sh
interface FastEthernet1/0
     no sh
interface FastEthernet1/0.10
     encapsulation dot1Q 10
ip address 10.10.10.2 255.255.255.252
interface FastEthernet1/0.30
   encapsulation dot1Q 30
ip address 30.30.30.1 255.255.255.252
ip route 20.20.20.0 255.255.255.252 30.30.30.2
ip sla monitor 1
   type echo protocol ipIcmpEcho 10.10.10.1 source-interface FastEthernet1/0.10
   threshold 500
   frequency 5
ip sla monitor schedule 1 life forever start-time now
   track 1 rtr 1 reachability
ip route 192.168.3.0 255.255.255.0 10.10.10.1 track 1

ip sla monitor 2
    type echo protocol ipIcmpEcho 20.20.20.1 source-interface FastEthernet1/0.30
    threshold 500
    frequency 5
ip sla monitor schedule 2 life forever start-time now
    track 2 rtr 2 reachability
ip route 192.168.3.0 255.255.255.0 30.30.30.2 2 track 2



IF any link is DOWN and UP,  result is below.




1 comment: