Configuring An Ipv6 Link-Local Address - HP A5120 EI Series Configuration Manual

Hide thumbs Also See for A5120 EI Series:
Table of Contents

Advertisement

Temporary IPv6 address: Comprises an address prefix provided by the RA message, and a random
interface ID generated through MD5.
Before sending a packet, the system preferably uses the temporary IPv6 address of the sending interface
as the source address of the packet to be sent. When this temporary IPv6 address expires, the system
removes it and generates a new one. This 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 temporary IPv6 addresses are specified as follows:
The preferred lifetime of a temporary IPv6 address takes the value of the smaller of the following
values: the preferred lifetime of the address prefix in the RA message or the preferred lifetime
configured for temporary IPv6 addresses minus DESYNC_FACTOR (which is a random number
ranging 0 to 600, in seconds).
The valid lifetime of a temporary IPv6 address takes the value of the smaller of the following values:
the valid lifetime of the address prefix; valid lifetime configured for temporary IPv6 addresses.
Follow these steps to configure the temporary address function:
To do...
Enter system view
Configure the system to generate
and preferably use the temporary
IPv6 address of the sending interface
as the source address of the packet
to be sent
CAUTION:
You must also enable stateless address autoconfiguration on an interface if you need temporary IPv6 addresses
to be generated on that interface. Temporary IPv6 addresses do not override public IPv6 addresses. Therefore,
an interface may have multiple IPv6 addresses with the same address prefix but different interface ID portions.
If the public IPv6 address fails to be generated on an interface due to a prefix conflict or other reasons, no
temporary IPv6 address will be generated on the interface.

Configuring an IPv6 link-local address

IPv6 link-local addresses can be configured in either of the following ways:
Automatic generation: The switch 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: IPv6 link-local addresses can be assigned manually.
NOTE:
An interface can have one link-local address only. To avoid link-local address conflicts, use automatic generation
method.
Manual assignment takes precedence over automatic generation. If you first use automatic generation and then
manual assignment, the manually assigned link-local address will overwrite the automatically generated one. If
you first use manual assignment and then automatic generation, the automatically generated link-local address
will not take effect and the link-local address is still the manually assigned one. If you delete the manually
assigned address, the automatically generated link-local address is validated.
Use the command...
system-view
ipv6 prefer temporary-address [
valid-lifetime preferred-lifetime ]
123
Remarks
Required
By default, the system does
not generate or use any
temporary IPv6 address.

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents