To Know VRRP Basic Configuration
Here we will go over a basic VRRP (Virtual Router Redundancy Protocol) configuration. VRRP is very similar to the other two, HSRP and GLBP. However it is not a Cisco proprietary protocol, it is standards based. Also, it, unlike GLBP, does not provide load balancing. It is more similar to HSRP instead.
Let’s take a look at the following sample topology:
As in the previous two articles, Router-A and Router-B are adjacent to the LAN segment. Asside from the normal IP address on our router interfaces, you will see a few VRRP commands added in the following configs:
Router-A:
interface FastEthernet0/0
ip address 10.0.254.20 255.255.255.0
vrrp 1 priority 120
vrrp 1 timers learn
vrrp 1 ip 10.0.254.10
Router-B:
interface FastEthernet0/0
ip address 10.0.254.20 255.255.255.0
vrrp 1 priority 100
vrrp 1 timers learn
vrrp 1 ip 10.0.254.10
The higher priority of Router-A’s VRRP config tells it to be the active router. And, the ‘timers learn’ command, as it implies, tells the vrrp process to learn the timers of the other member(s). This is good to do in case the other router has a different interval set.
You should now be able to ping .10 on your LAN segment. Should you wish to connect to a specific router, you can use the normal interface IP that was configured.
We can verify the VRRP operation via the ‘show vrrp all’ command:
Router-A#show vrrp all
FastEthernet0/0 - Group 1
State is Master
Virtual IP address is 10.0.254.10
Virtual MAC address is 0000.5e00.0101
Advertisement interval is 1.000 sec
Preemption enabled
Priority is 120
Master Router is 10.0.254.20 (local), priority is 120
Master Advertisement interval is 1.000 sec
Master Down interval is 3.531 sec
Router-B#show vrrp all
FastEthernet0/0 - Group 1
State is Backup
Virtual IP address is 10.0.254.10
Virtual MAC address is 0000.5e00.0101
Advertisement interval is 1.000 sec
Preemption enabled
Priority is 100
Master Router is 10.0.254.20, priority is 120
Master Advertisement interval is 1.000 sec
Master Down interval is 3.609 sec (expires in 3.344 sec) Learning
Reading from http://esalonia.net
More Related Reading:
How to Configure GLBP in Cisco IOS Routers?