Configuring An Ipv6 Link-Local Address - HP 10500 Series Configuration Manual

Layer 3 - ip services
Hide thumbs Also See for 10500 Series:
Table of Contents

Advertisement

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.
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.
The valid lifetime configured for temporary IPv6 addresses.
To configure the temporary address function:
Step
1.
Enter system view.
2.
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.
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 because of a prefix conflict or other
reasons, no temporary IPv6 address is generated on the interface.

Configuring an IPv6 link-local address

IPv6 link-local addresses can be configured in one of the following ways:
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—IPv6 link-local addresses can be assigned manually.
An interface can have only one link-local address. To avoid link-local address conflicts, use the 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 overwrites the automatically generated one.
If you first use manual assignment and then automatic generation, the automatically generated
link-local address does not take effect and the link-local address is still the manually assigned one.
Command
system-view
ipv6 prefer temporary-address
[ valid-lifetime preferred-lifetime ]
116
Remarks
N/A
By default, the system does
not generate or use a
temporary IPv6 address.

Advertisement

Table of Contents
loading

Table of Contents