Packet Tracer HSRP

Soal

Topology

Letsgoo Konfig

R1(Config)#int gig0/1
R1(Config-if)#standby version 2
R1(Config-if)#standby 1 ip 192.168.1.254
R1(Config-if)#standby 1 priority 150
R1(Config-if)#standby 1 preempt

pake version 2 yang lebih terbaru, link primary adalah priority terendah jika priority sama maka ip paling rendah, preempt adalah command supaya nanti kalo link yang mati kalo udah hidup maka akan ganti primarinya ke dia lagi

R3(Config)#int gig0/0
R3(Config-if)#standby version 2
R3(Config-if)#standby 1 ip 192.168.1.254

Verivikasi

R1#show standby 
GigabitEthernet0/1 - Group 1 (version 2)
  State is Active
    6 state changes, last state change 00:05:18
  Virtual IP address is 192.168.1.254
  Active virtual MAC address is 0000.0C9F.F001
    Local virtual MAC address is 0000.0C9F.F001 (v2 default)
  Hello time 3 sec, hold time 10 sec
    Next hello sent in 2.538 secs
  Preemption enabled
  Active router is local
  Standby router is 192.168.1.3
  Priority 150 (configured 150)
  Group name is hsrp-Gig0/1-1 (default)
R3#show standby 
GigabitEthernet0/0 - Group 1 (version 2)
  State is Standby
    5 state changes, last state change 00:07:09
  Virtual IP address is 192.168.1.254
  Active virtual MAC address is 0000.0C9F.F001
    Local virtual MAC address is 0000.0C9F.F001 (v2 default)
  Hello time 3 sec, hold time 10 sec
    Next hello sent in 0.253 secs
  Preemption enabled
  Active router is 192.168.1.1
  Standby router is local
  Priority 100 (default 100)
  Group name is hsrp-Gig0/0-1 (default)

Ganti Default Gateway

S1(Config)#ip default-gateway 192.168.1.254
S2(Config)#ip default-gateway 192.168.1.254

Taraa….