Switching Lab 23 : VRRP (Virtual Router Redundancy Protocol)
LAB 23
Untuk topology masih sama, Hapus Konfigurasi HSRP di R1 dan R2.
R1 dan R2
R1(config)#default int f0/1R2(config)#default int f0/1
Konfigurasikan VRRP pada kedua Router
R1
R1(config)#interface FastEthernet0/1R1(config-if)#ip address 192.168.12.1 255.255.255.0
R1(config-if)#vrrp 1 ip 192.168.12.254
R1(config-if)#vrrp 1 priority 110
R1(config-if)#vrrp 1 authentication md5 key-string cisco
R2(config)#interface FastEthernet0/1 R2
R2(config-if)#ip address 192.168.12.2 255.255.255.0
R2(config-if)#vrrp 1 ip 192.168.12.254
R2(config-if)#vrrp 1 authentication md5 key-string cisco
R1(config)#do show vrrp brief Konfigurasi di PC
PC1 dan PC2
PC1> ip 192.168.12.10/24 192.168.12.254
PC2> ip 192.168.12.11/24 192.168.12.254
Verifikasi
R1
Interface Grp Pri Time Own Pre State Master addr Group addr Fa0/1
1 110 3570 Y Master 192.168.12.1 192.168.12.254
R2(config)#do show vrrp brief R2
Interface Grp Pri Time Own Pre State Master addr Group addr Fa0/1
1 100 3609 Y Backup 192.168.12.1 192.168.12.254
R1(config-if)#shutdown Shutdown interface f0/1 R1 (Master)
R1
R1(config-if)#
*Des 1012:22:54.167: %VRRP-6-STATECHANGE: Fa0/1 Grp 1 state Master -> Init
R1(config-if)#
*Des 10 12:22:54.275: %DUAL-5-NBRCHANGE: IP-EIGRP(0) 1: Neighbor
192.168.12.2 (FastEthernet0/1) is down: interface down
R2(config)# R2
*Des 10 12:22:54.775: %VRRP-6-STATECHANGE: Fa0/1 Grp 1 state Backup -> Master
Interface Grp Pri Time Own Pre State Master addr Group addr Fa0/1
1 100 3609 YMaster 192.168.12.2 192.168.12.254
R1(config)#do show vrrp brief R1
Interface Grp Pri Time Own Pre State Master addr Group addr Fa0/1
1 110 3570 Y Init 0.0.0.0 192.168.12.254
Comments
Post a Comment