Lab 23. VRRP (Virtual Router Redudancy Protocol)
R1 dan R2
R1(config)#default int f0/1
R1(config)#default int f0/1
PASANG VRRP DI KEDUA ROUTER
R1
R1(config)#interface FastEthernet0/1
R1(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
R2(config)#interface FastEthernet0/1
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
Config di PC
R1 dan R2
PC1> ip 192.168.12.10/24 192.168.12.254
PC2> ip 192.168.12.11/24 192.168.12.254
CEK DENGAN DO SHOW VRRP BRIEF
R1
R1(config)#do show vrrp brief
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
R2(config)#do show vrrp brief
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
Shutdown interface f0/1 R1 (Master)
R1
R1(config-if)#sh
R1(config-if)#
*Feb 3 12:22:54.167: %VRRP-6-STATECHANGE: Fa0/1 Grp 1 state Master -> Init
R1(config-if)#
*Feb 3 12:22:54.275: %DUAL-5-NBRCHANGE: IP-EIGRP(0) 1: Neighbor
192.168.12.2 (FastEthernet0/1) is down: interface down
R2
R2(config)#
*Feb 3 12:22:54.775: %VRRP-6-STATECHANGE: Fa0/1 Grp 1 state Backup -> Master
R2
R2(config)#do show vrrp brief
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
R1(config)#do show vrrp brief
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
Tidak ada komentar:
Posting Komentar