2016年2月3日 星期三

VRRP track on serial

VRRP track on serial interface



============================
hostname R1
!
track 1 interface Serial1/0 line-protocol
!
interface FastEthernet0/0
 ip address 192.168.1.250 255.255.255.0
 duplex auto
 speed auto
 vrrp 1 ip 192.168.1.254
 vrrp 1 priority 110
 vrrp 1 authentication md5 key-string 123
 vrrp 1 track 1 decrement 50
!
interface Serial1/0
 ip address 10.1.1.1 255.255.255.252
 encapsulation ppp
!
router ospf 1
 network 10.1.1.0 0.0.0.3 area 0.0.0.0
 network 192.168.1.0 0.0.0.255 area 0.0.0.0
!

end
============================


============================
hostname R2
!
track 1 interface Serial1/0 line-protocol
!
interface FastEthernet0/0
 ip address 192.168.1.251 255.255.255.0
 duplex auto
 speed auto
 vrrp 1 ip 192.168.1.254
 vrrp 1 priority 100
 vrrp 1 authentication md5 key-string 123
 vrrp 1 track 1 decrement 50
!
interface Serial1/0
 ip address 10.1.2.1 255.255.255.252
 encapsulation ppp
!
router ospf 1
 network 10.1.2.0 0.0.0.3 area 0.0.0.0
 network 192.168.1.0 0.0.0.255 area 0.0.0.0
!
end
============================

============================
hostname R3
!
track 1 interface Serial1/0 line-protocol
!
interface FastEthernet0/0
 ip address 172.22.0.250 255.255.255.0
 duplex auto
 speed auto
 vrrp 1 ip 172.22.0.254
 vrrp 1 priority 110
 vrrp 1 authentication md5 key-string 123
 vrrp 1 track 1 decrement 50
!
interface Serial1/0
 ip address 10.1.1.2 255.255.255.252
 encapsulation ppp
!
router ospf 1
 network 10.1.1.0 0.0.0.3 area 0.0.0.0
 network 172.22.0.0 0.0.0.255 area 0.0.0.0
!
end
============================

============================
hostname R4
!
track 1 interface Serial1/0 line-protocol
!
interface FastEthernet0/0
 ip address 172.22.0.251 255.255.255.0
 duplex auto
 speed auto
 vrrp 1 ip 172.22.0.254
 vrrp 1 priority 100
 vrrp 1 authentication md5 key-string 123
 vrrp 1 track 1 decrement 50
!
interface Serial1/0
 ip address 10.1.2.2 255.255.255.252
 encapsulation ppp
!
router ospf 1
 network 10.1.2.0 0.0.0.3 area 0.0.0.0
 network 172.22.0.0 0.0.0.255 area 0.0.0.0
!
end
============================












沒有留言:

張貼留言