You have practiced every command on the demo pair.
Time to build the whole configuration on a full topology, start to finish.
You manage the 192.168.10.0/24 LAN as its network administrator.
Figure 10 – Target design: VRRP Group 1 with VIP 192.168.10.3
Your objective: deploy VRRP so the LAN survives a router failure, with authentication and the default preemption behavior verified.
Configure VRRP on R1
On R1, create group 1 with the VIP, a priority of 110, and MD5 authentication:
R1# conf t Enter configuration commands, one per line. End with CNTL/Z. R1(config)# int g0/0 R1(config-if)# vrrp 1 ip 192.168.10.3 R1(config-if)# vrrp 1 priority 110 R1(config-if)# vrrp 1 authentication md5 key-string PINGMYNETWORK_SECRET %VRRP-6-STATECHANGE: GigabitEthernet0/0 Grp 1 state Init -> Backup %VRRP-6-STATECHANGE: GigabitEthernet0/0 Grp 1 state Backup -> Master R1(config-if)# end R1# write memoryvrrp 1 ip 192.168.10.3 forms group 1 and sets its VIP.
vrrp 1 priority 110 makes R1 the preferred Master.
Preemption needs no extra command: it is on by default.vrrp 1 authentication md5 key-string keeps out any router that doesn't know the shared key.
Configure VRRP on R2
R2 gets the same logic, with a lower priority:
R2# conf t Enter configuration commands, one per line. End with CNTL/Z. R2(config)# int g0/0 R2(config-if)# vrrp 1 priority 90 R2(config-if)# vrrp 1 ip 192.168.10.3 R2(config-if)# vrrp 1 authentication md5 key-string PINGMYNETWORK_SECRET %VRRP-6-STATECHANGE: GigabitEthernet0/0 Grp 1 state Init -> Backup R2(config-if)# end R2# write memoryR2 joins group 1 but loses on priority, so it stays in Backup.
Answer the question below
What priority did you configure on R1?
Verify the group first.
Run show vrrp on R1:R1# show vrrp GigabitEthernet0/0 - Group 1 State is Master Virtual IP address is 192.168.10.3 Virtual MAC address is 0000.5e00.0101 Advertisement interval is 1.000 sec Preemption enabled Priority is 110 Authentication MD5, key-string Master Router is 192.168.10.1 (local), priority is 110 Master Advertisement interval is 1.000 sec Master Down interval is 3.570 secLook at the same group from R2's point of view:
R2# show vrrp GigabitEthernet0/0 - Group 1 State is Backup Virtual IP address is 192.168.10.3 Virtual MAC address is 0000.5e00.0101 Advertisement interval is 1.000 sec Preemption enabled Priority is 90 Authentication MD5, key-string Master Router is 192.168.10.1, priority is 110 Master Advertisement interval is 1.000 sec Master Down interval is 3.648 sec (expires in 3.301 sec)Answer the question below
Which virtual MAC address does group 1 use?
Power off R1 completely.
R2 waits for its Master Down Interval, then takes over:R2# %VRRP-6-STATECHANGE: GigabitEthernet0/0 Grp 1 state Backup -> MasterCheck the path from a host in the LAN:
C:\> tracert 8.8.8.8 Tracing route to 8.8.8.8 over a maximum of 30 hops: 1 0 ms 0 ms 0 ms 192.168.10.2 2 0 ms 0 ms 0 ms 8.8.8.8 Trace complete.The first hop is now 192.168.10.2, R2's physical IP.
The host changed nothing: same VIP, same Virtual MAC, only the physical router behind them changed.Power R1 back on.
Because preemption is enabled by default, R1 reclaims the Master role automatically, no extra command needed:R2# %VRRP-6-STATECHANGE: GigabitEthernet0/0 Grp 1 state Master -> BackupR1# %VRRP-6-STATECHANGE: GigabitEthernet0/0 Grp 1 state Init -> Backup %VRRP-6-STATECHANGE: GigabitEthernet0/0 Grp 1 state Backup -> MasterAnswer the question below
After R1 recovers, does it need a manual command to reclaim the Master role?
One-Line Summary with show vrrp brief
show vrrp briefgives you the whole group in a single line.Run it on R1:
R1# show vrrp brief Interface Grp Pri Time Own Pre State Master addr Group addr Gi0/0 1 110 3570 N Y Master 192.168.10.1 192.168.10.3Now do the same check on R2:
R2# show vrrp brief Interface Grp Pri Time Own Pre State Master addr Group addr Gi0/0 1 90 3648 N Y Backup 192.168.10.1 192.168.10.3The Time column is the Master Down Interval in milliseconds: 3570 for R1's own priority 110, 3648 for R2's priority 90.
Own stays N since neither router is the address owner.
Pre confirms preemption is configured on both.Answer the question below
Which keyword displays the one-line summary of a VRRP group?
Your VRRP design is now complete: the gateway is redundant, authenticated, and the failover is transparent to the hosts.
Unlike HSRP, the protocol itself interoperates with routers from other vendors too, since VRRP is an open standard.Answer the question below
Which company created HSRP, making VRRP the vendor-neutral alternative?
Answer the question below
R2 shows Time 3648 at priority 90: which Time would it show at priority 64?