Task:
Configure VRRP on two routers, providing gateway redundancy for a network.
Solution:
!RouterA ! ! Interface configuration, change FastEthernet0/0 keyword as needed interface FastEthernet0/0 ! ! IP address configured on interface ip address 10.0.0.2 255.255.255.0 ! ! Enable VRRP using a group number of 1 vrrp 1 ip 10.0.0.1 ! ! Make this router primary vrrp 1 priority 254 ! ! If a failover occurs to RouterB, make RouterA be primary again when it’s back online vrrp 1 preempt ! ! Router must have matching pw to going vrrp group vrrp 1 authentication md5 key-string abcdefghijklmino
! RouterB ! ! Interface configuration, change FastEthernet0/0 keyword as needed interface FastEthernet0/0 ! ! IP address configured on interface ip address 10.0.0.3 255.255.255.0 ! ! Enable VRRP using a group number of 1 vrrp 1 ip 10.0.0.1 ! ! Make this router primary vrrp 1 priority 253 ! ! If a failover occurs to RouterB, make RouterA be primary again when it’s back online vrrp 1 preempt ! ! Router must have matching pw to going vrrp group vrrp 1 authentication md5 key-string abcdefghijklmino


Print This Post