VRRP (Virtual Router Redundancy Protocol)

Thanks Laz, it makes sense now :slight_smile:

1 Like
SW1(config)#interface fa0/17
SW1(config-if)#vrrp 1 ip 192.168.1.3
SW1(config-if)#vrrp 1 priority 150
SW1(config-if)#vrrp 1 authentication md5 key-string mykey

Is that command correct which run here on Multilayer switch i believe it should be same as HSRP where we first configure the SVI on switch port considering the interface are on VLAN 1 and then enable interface for particular IP ?

Best Regards
Shivam Chaudhary

Hello Shivam

In the lesson, before this config, Rene states:

SW1 and SW2 are multilayer switches, and their interfaces are configured as routed ports. We will create a virtual gateway using VRRP on the interfaces facing SW3:

Since these ports have been configured as routed ports, the configuration is correct. Routed ports are those that have been configured with the no switchport command on the physical interface itself. This causes the specific port to act as if it is a port on a router. Once it is functioning at Layer 3, then we can apply the VRRP commands directly to the physical interface itself. The same is true with HSRP.

I hope this has been helpful!

Laz

1 Like

Is that ip address is configured correctly or it is typo mistake

Hello Shivam

The address seems to be correct. He is using

  • 192.168.1.252 for the SVI of VLAN A for Switch A
  • 192.168.1.253 for the SVI of VLAN A for Switch B
  • 192.168.1.254 for the virtual IP address for VLAN A on both devices.

Let me know if you need further clarification…

I hope this has been helpful!

Laz

In the Virtual Router Redundancy Protocol (VRRP) overview for ENCOR. The table lists 16 groups maximum, I could be wrong or have outdated info but I think it supports 255 groups as per RFC 2281, whereas v2 support 4096. Could you confirm, please?

Thank you!

Hello Ahmed

The correct information is the following:

  • HSRP v1 group numbers: 0-255
  • HSRP v2 group numbers: 0-4095
  • VRRP v1 group numbers: 0-255 (as per RFC 2281)
  • VRRP v2 group numbers: 0-255 (as per RFC 3768)
  • VRRP v3 group numbers: 0-4095 (as per RFC 5798)

The table in the VRRP lesson is incorrect stating that HSRP supports only 16 group numbers. According to the HSRP lesson, v1 can support 0-255 and v2 can support 0-4095 as stated above. I will let Rene know to make the changes.

Thanks for pointing that out!

Laz

Keep in mind that although the newer versions support many groups, your hardware might have limitations:

https://notes.networklessons.com/fhrp-hardware-limitations