Got it

The Virtual Router Redundancy Protocol (VRRP)

Latest reply: Apr 3, 2019 11:20:15 1440 6 1 0 0

Virtual Router Redundancy Protocol (VRRP)


The Virtual Router Redundancy Protocol (VRRP) is an industry-standard Layer-3 redundancy protocol, originally defined in RFC 2338. VRRP is nearly identical to HSRP, with some notable exceptions:


1. The router with the highest priority becomes the master router.


2. All of the other routers become backup routers.


3. The virtual MAC address is the reserved 0000.5e00.01xx, with xx representing the hexadecimal group number.


4. Hello packets are sent every 1 second (by default) to the multicast address representing the hexadecimal group number.


5. Hello packets are sent every 1 second (by default) to the multicast address 224.0.0.18.


6. VRRP will preempt by default.


7. VRRP cannot directly track interfaces – it can track an object which is tied to an interface, though.

The configuration of VRRP is also very similar to that of HSRP:


[Huawei]inter  g0/0/0

[Huawei-GigabitEthernet0/0/0]ip add 192.168.1.1 24

[Huawei-GigabitEthernet0/0/0]vrrp vrid 10  virtual-ip 192.168.1.100

[Huawei-GigabitEthernet0/0/0]vrrp vrid 10 priority 150

[Huawei-GigabitEthernet0/0/0]vrrp vrid 10 authentication-mode simple plain Huawei


As with HSRP, the default VRRP priority is 100 and a higher priority is preferred. Unlike HSRP, preemption is enabled by default.

To manually disable preempt:


[Huawei-GigabitEthernet0/0/0]vrrp vrid 10 preempt-mode disable 


To view the status of each VRRP group:


[Huawei]disp vrrp 

  GigabitEthernet0/0/0 | Virtual Router 10

    State : Initialize

    Virtual IP : 192.168.1.100

    Master IP : 0.0.0.0

    PriorityRun : 150

    PriorityConfig : 150

    MasterPriority : 0

    Preempt : NO 

    TimerRun : 1 s

    TimerConfig : 1 s

    Auth type : SIMPLE   Auth key : Huawei

    Virtual MAC : 0000-5e00-010a

    Check TTL : YES

    Config type : normal-vrrp

    Backup-forward : disabled

    Create time : 2019-03-31 07:33 UTC-08:00

    Last change time : 2019-03-31 07:33


Nice work Diaa

Kindly Note:
VRRP protocol number is 112.
VRRP versions VVRPv2 (IPv4) and VRRPv3 (IPv4 and IPv6)
View more
  • x
  • convention:

Diaa_Mohamed
Diaa_Mohamed Created Mar 31, 2019 08:17:51 (0) (0)
thanks my bro :)  
in vrrp how can I monitor the uplinks going to isp?
View more
  • x
  • convention:

Diaa_Mohamed
Diaa_Mohamed Created Apr 3, 2019 11:14:01 (0) (0)
you can use many types of tracking as
1-direct-route track vrrp
2-vrrp vrid track bfd-session
3-vrrp vrid track interface
4-vrrp vrid track ip route
5-vrrp vrid track nqa  
you can use many types of tracking as 1-direct-route track vrrp 2-vrrp vrid track bfd-session 3-vrrp vrid track interface 4-vrrp vrid track ip route 5-vrrp vrid track nqa
View more
  • x
  • convention:

you can use many types of tracking as 1-direct-route track vrrp 2-vrrp vrid track bfd-session 3-vrrp vrid track interface 4-vrrp vrid track ip route 5-vrrp vrid track nqa
View more
  • x
  • convention:

Comment

You need to log in to comment to the post Login | Register
Comment

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " User Agreement."

My Followers

Login and enjoy all the member benefits

Login

Block
Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Reminder
Please bind your phone number to obtain invitation bonus.