How is a VRRP virtual MAC address calculated

9

A virtual MAC address is generated by the virtual router based on the virtual router ID. The virtual MAC address format is 00-00-5E-00-01-{VRID} (VRRP) and 00-00-5E-00-02-{VRID} (VRRP6).

Other related questions:
How to create the virtual MAC address of the VRRP on the AR router
The virtual MAC address is generated based on the virtual router ID. The format is 00-00-5E-00-01-{VRID}(VRRP); 00-00-5E-00-02-{VRID}(VRRP6).

How to configure a virtual address of VRRP on an AR router
How to configure a virtual address of VRRP on an AR router? The vrrp vrid virtual-router-id virtual-ip virtual-address command is used to create a VRRP group and specify a virtual IP address for the group. The vrid virtual-router-id command is used to specify a VRRP group number which is an integer in the range from 1 to 255. The virtual-ip virtual-address command is used to specify a virtual IP address (dotted decimal notation) for the VRRP group. [Huawei] interface gigabitethernet 1/0/0 [Huawei-GigabitEthernet1/0/0] vrrp vrid 1 virtual-ip 10.10.10.10 //Create a VRRP group on GE1/0/0. The group number is 1, and the virtual IP address is 10.10.10.10.

Can the virtual MAC address be used as the source MAC address of packets
Yes. By default, the firewall uses the physical MAC address to encapsulate Layer-3 service packets. To use the virtual MAC address, run the vrrp virtual-mac enable command in the interface view.

Whether the virtual IP address and virtual MAC address of the VRRP group need to be configured when IPSG is configured for S series switches
When IPSG is configured on the interface of an S series switch (S1700 excluded) connected to a VRRP device, the virtual IP address and virtual MAC address need to be added to the static user binding table to ensure IPSG check on packets.

Number of virtual IP addresses of VRRP groups that can be configured on the USG6000
Example for configuring VRRP load balancing (configuring multiple virtual IP addresses) Requirements: USG_A serves as the Master of VRRP group 1 and the Backup of VRRP group 2. USG_B serves as the Master of VRRP group 2 and the Backup of VRRP group 1. On the internal network, HostA uses VRRP group 1 as the gateway, and HostC uses VRRP group 2 as the gateway. This helps implement load balancing and mutual backup. Configuration roadmap 1. Create two VRRP groups at GigabitEthernet 0/0/2 of USG_A. USG_A serves as the Master of VRRP group 1 and the Backup of VRRP group 2. 2. Create two VRRP groups at GigabitEthernet 0/0/2 of USG_B. USG_B serves as the Backup of VRRP group 1 and the Master of VRRP group 2. Operation steps 1. Configure VRRP. # Configure GigabitEthernet0/0/2 on USG_A, create VRRP group 1, and set the priority of USG_A in VRRP group 1 to 105 (as the Master). Create VRRP group 2 and set the priority of USG_A in VRRP group 2 to the default value 100 (as the Backup). system-view [USG_A] vrrp mode [USG_A] interface GigabitEthernet 0/0/2 [USG_A-GigabitEthernet0/0/2] ip address 10.1.1.1 24 [USG_A-GigabitEthernet0/0/2] vrrp vrid 1 virtual-ip 10.1.1.111 [USG_A-GigabitEthernet0/0/2] vrrp vrid 1 priority 105 [USG_A-GigabitEthernet0/0/2] vrrp vrid 2 virtual-ip 10.1.1.112 # Configure GigabitEthernet0/0/2 on USG_B, create VRRP group 1, and set the priority of USG_B in VRRP group 1 to the default value `100 (as the Backup). Create VRRP group 2 and set the priority of USG_B in VRRP group 2 to 105 (as the Master). system-view [USG_B] vrrp mode [USG_B] interface GigabitEthernet 0/0/2 [USG_B-GigabitEthernet0/0/2] ip address 10.1.1.2 24 [USG_B-GigabitEthernet0/0/2] vrrp vrid 1 virtual-ip 10.1.1.111 [USG_B-GigabitEthernet0/0/2] vrrp vrid 2 virtual-ip 10.1.1.112 [USG_B-GigabitEthernet0/0/2] vrrp vrid 2 priority 105

If you have more questions, you can seek help from following ways:
To iKnow To Live Chat
Scroll to top