Configuring An Ipv6 Link-Local Address - HP 6125XLG Layer 3-Ip Services Configuration Manual

Blade switch
Table of Contents

Advertisement

You can also configure the interface to preferentially use the temporary IPv6 address as the source
address of sent packets. When the valid lifetime of the temporary IPv6 address expires, the interface
removes the address and generates a new one. This function enables the system to send packets with
different source addresses through the same interface. If the temporary IPv6 address cannot be used
because of a DAD conflict, the public IPv6 address is used.
The preferred lifetime and valid lifetime for a temporary IPv6 address are determined as follows:
The preferred lifetime of a temporary IPv6 address takes the smaller of the following values:
The preferred lifetime of the address prefix in the RA message.
The preferred lifetime configured for temporary IPv6 addresses minus DESYNC_FACTOR (a
random number ranging from 0 to 600 seconds).
The valid lifetime of a temporary IPv6 address takes the smaller of the following values:
The valid lifetime of the address prefix.
The valid lifetime configured for temporary IPv6 addresses.
To configure the temporary address function:
Step
1.
Enter system view.
2.
Enable the system to generate
a temporary IPv6 address.
3.
Enable the system to
preferentially use the
temporary IPv6 address as the
source address of the packet.
To generate a temporary address, an interface must be enabled with stateless address autoconfiguration.
Temporary IPv6 addresses do not overwrite public IPv6 addresses, so an interface can have multiple IPv6
addresses with the same address prefix but different interface IDs.
If an interface fails to generate a public IPv6 address because of a prefix conflict or other reasons, it does
not generate any temporary IPv6 address.
Configuring a static IPv6 prefix
This feature is available in Release 2406P03 and later versions.
Step
1.
Enter system view.
2.
Configure a static IPv6 prefix.

Configuring an IPv6 link-local address

Configure IPv6 link-local addresses using one of the following methods:
Automatic generation—The device automatically generates a link-local address for an interface
according to the link-local address prefix (FE80::/10) and the link-layer address of the interface.
Manual assignment—Manually configure an IPv6 link-local address for an interface.
Command
system-view
ipv6 temporary-address
[ valid-lifetime preferred-lifetime ]
ipv6 prefer temporary-address
Command
system-view
ipv6 prefix prefix-number
ipv6-prefix/prefix-length
142
Remarks
N/A
By default, the system does not
generate any temporary IPv6
address.
By default, the system does not
preferentially use the temporary
IPv6 address as the source
address of the packet.
Remarks
N/A
By default, the device does not
have any static IPv6 prefix.

Advertisement

Table of Contents
loading

Table of Contents