VIRTUAL ROUTER REDUDANCY PROTOCOL - SWITCHTECH #23
VRRP - SWITCHTECH
Perhatikan topologi berikut ini,
Untuk topology masih sama, Hapus Konfigurasi HSRP di R1 dan R2,
R1 dan R2
R1(config)#default int f0/1
R1(config)#default int f0/1
Konfigurasikan VRRP pada 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
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
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
R1(config)#do show vrrp brief
Interface Grp Pri Time Own Pre State Master addr Group addr
Fa0/1 1 100 3570 Y Master 192.168.12.1 192.168.12.254
Shutdown interface f0/1 R1 (Master)
R1
R1(config-if)#shutdown
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
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
!
R1
R1(config)#do show vrrp brief
Interface Grp Pri Time Own Pre State Master addr Group addr
Fa0/1 1 100 3570 Y Master 192.168.12.1 192.168.12.254
Komentar
Posting Komentar