beautypg.com

Addresses – H3C Technologies H3C S7500E Series Switches User Manual

Page 148

background image

10-15

Specifying the Type of MAC Addresses Mapped to Virtual IPv6 Addresses

After you specify the type of MAC addresses mapped to the virtual IPv6 address of VRRP

groups and create a VRRP group, the master in the VRRP group uses the specified type of

MAC address as the source MAC address for sending packets so that the hosts in the internal

network can learn the mapping between the IPv6 address and the MAC address and thus

forward the packets destined to other network segments to the master.

Two types of MAC addresses are available to be mapped to the virtual IPv6 address of a VRRP

group:

z

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.

z

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.

Follow these steps to specify the type of MAC addresses mapped to virtual IPv6 addresses:

To do…

Use the command…

Remarks

Enter system view

system-view

specify the type of MAC

addresses mapped to virtual

IPv6 addresses

vrrp ipv6 method { real-mac |

virtual-mac }

Optional

Virtual MAC address by default

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.

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.

This manual is related to the following products: