R3303-HP HSR6800 Routers High Availability Configuration Guide

159
from hosts so that the hosts in the internal network can learn the mapping between the IPv6 address and
the MAC address.
The following types of MAC addresses are available to be mapped to the virtual IPv6 address of a VRRP
group:
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 IPv6 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 IPv6 address and the MAC address when the master
changes.
Real MAC address of an interface—In case that an IP address owner exists in a VRRP group, if the
virtual IPv6 address is mapped to the virtual MAC address, two MAC addresses are mapped to one
IPv6 address. To avoid such as problem, map the virtual IPv6 address of the VRRP group to the real
MAC address of an interface to forward the packets from a host to the IP address owner.
When VRRP operates in load balancing mode, a virtual IPv6 address is always mapped to a virtual MAC
address regardless of which type of MAC addresses are specified to be mapped to virtual IPv6
addresses.
Specify the type of the MAC addresses mapped to the virtual IPv6 addresses before creating a VRRP
group. Otherwise, you cannot change the type of the MAC addresses mapped to virtual IPv6 addresses.
To specify the type of MAC addresses mapped to virtual IPv6 addresses:
Ste
p
Command
Remarks
1. Enter system view.
system-view N/A
2. Specify the type of MAC
addresses mapped to virtual
IPv6 addresses.
vrrp ipv6 method { real-mac |
virtual-mac }
Optional.
Virtual MAC address by default.
Creating a VRRP group and configuring a virtual IPv6 address
When creating a VRRP group, configure a virtual IPv6 address for the VRRP group. You can configure
multiple virtual IPv6 addresses for a VRRP group.
A VRRP group is automatically created when you specify the first virtual IPv6 address for the VRRP group.
If you specify another virtual IPv6 address for the VRRP group later, the virtual IPv6 address is added to
the virtual IPv6 address list of the VRRP group.
Configuration prerequisites
Before creating a VRRP group and configuring a virtual IPv6 address on an interface, configure an IPv6
address for the interface and make sure that it is in the same network segment as the virtual IPv6 address
to be configured.
Configuration guidelines
When a router is the IP address owner in a VRRP group, HP recommends not using the IPv6 address
of the interface (virtual IPv6 address of the VRRP group) to establish an OSPFv3 neighbor
relationship with the adjacent router, that is, not using the ospfv3 area command to enable OSPFv3
on the interface. For more information about ospfv3 area command, see Layer 3—IP Routing
Command Reference.