beautypg.com

Mapping a virtual ip address to a mac address – H3C Technologies H3C SecPath F1000-E User Manual

Page 13

background image

12

Task Remarks

Mapping a Virtual IP Address to a MAC Address

Optional
When VRRP works in load

balancing mode, the mapping

between a virtual IP address and
a MAC address can be

configured but is not effective.

Configuring VRRP Working Mode

Optional

Specifying the VRRP Control VLAN

Optional

Creating a VRRP Group and Configuring Virtual IP Address

Required

Configuring Router Priority, Preemptive Mode and Tracking Function

Optional

Configuring VF Tracking

Optional
The VF tracking function is
effective only when VRRP works

in load balancing mode.

Configuring VRRP Packet Attributes

Optional

Enabling the Trap Function for VRRP

Optional

Mapping a Virtual IP Address to a MAC Address

When the virtual IP address of a VRRP group is mapped to a MAC address, the master uses the

configured MAC address as the source MAC address for sending packets so that the hosts in the internal
network can learn the mapping between the IP address and the MAC address and thus forward the

packets destined to the other network segments to the master.
Two types of mappings between the virtual IP address and MAC address are available:

Mapping the virtual IP address to a virtual MAC address

By default, a virtual MAC address is automatically created for a VRRP group when the VRRP group is

created, and the virtual IP address of the VRRP group is mapped to the virtual MAC address. When such

a mapping is adopted, the hosts in the internal network do not need to update the mapping between the

IP address and MAC address when the master changes.

Mapping the virtual IP address to the real MAC address of an interface

In case that an IP address owner exists in a VRRP group, if the virtual IP address is mapped to the virtual
MAC address, two MAC addresses are mapped to one IP address. To avoid such as problem, map the

virtual IP address of the VRRP group to the real MAC address to forward the packets from a host to the

IP address owner.
Follow these steps to map a virtual IP address to a MAC address:

To do…

Use the command…

Remarks

Enter system view

system-view

Map a virtual IP address to a MAC
address

vrrp method { real-mac |
virtual-mac }

Optional
By default, a virtual MAC address

is mapped to a virtual IP address.