Assigning virtual mac addresses – H3C Technologies H3C WX3000E Series Wireless Switches User Manual

Page 19

Advertising
background image

11

Assigning virtual MAC addresses

When VRRP is operating in load balancing mode, the master assigns virtual MAC addresses to the

routers in the VRRP group and answers the ARP requests or ND requests from different hosts. The backup

routers, however, do not answer the ARP requests or ND requests from the hosts.
Assume that a VRRP group is operating in an IPv4 network. The load balancing mode works as follows:

1.

The master assigns virtual MAC addresses to all members (including itself). This example assumes
that the virtual IP address of the VRRP group is 10.1.1.1/24, Router A is the master, and Router B

and Router C are the backups. Router A assigns 000f-e2ff-0011 to itself and 000f-e2ff-0012 to

Router B.

Figure 6 Virtual MAC addresses assignment

2.

When an ARP request arrives, the master (Router A) selects a virtual MAC address based on the

load balancing algorithm to answer the ARP request. In this example, Router A returns the virtual
MAC address of itself in response to the ARP request from Host A, and returns the virtual MAC

address of Router B in response to the ARP request from Host B (see

Figure 7

).

Advertising