XpressLearn Home

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading ... Loading ...
Configure VRRP

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

Author Info:

 
Scott is the Founder, Administrator, Architect, Chief Editor and Shameless Hack who wrote and runs Xpresslearn.
 

Scott has been working in the networking field for 13 years and has experience in all the areas: Lan, Wan, Security, Optimization, High Availability, Wireless, and others.

When he is not working on further development of Xpresslearn, Scott loves spending time with his family and has such hobbies as Camping, Fishing, Cars, and Woodworking.

Related Posts:


Leave a Reply