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.
Prefix-specific address autoconfiguration
This task allows you to specify an IPv6 prefix for an interface to automatically generate an IPv6
global unicast address and advertise the prefix. You must specify the IPv6 prefix by its ID.
To specify an IPv6 prefix for an interface to generate an IPv6 address and advertise the prefix:
Step
1.
Enter system view.
2.
Configure an IPv6 prefix.
3.
Enter interface view.
4.
Specify an IPv6 prefix for
an interface to
automatically generate an
IPv6 global unicast
address and advertise the
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.
An interface can have only one link-local address. As a best practice, use the automatic generation
method to avoid link-local address conflicts. If both methods are used, the manual assignment takes
precedence.
•
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, both of the following occur:
The link-local address is still the manually assigned one.
The automatically generated link-local address does not take effect. If you delete the
manually assigned address, the automatically generated link-local address takes effect.
Command
system-view
•
(Method 1) Configure a static
IPv6 prefix:
ipv6 prefix prefix-number
ipv6-prefix/prefix-length
•
(Method 2) Use DHCPv6 to
obtain a dynamic IPv6 prefix:
For more information about
IPv6 prefix acquisition, see
"Configuring the DHCPv6
client."
interface interface-type
interface-number
ipv6 address prefix-number
sub-prefix/prefix-length
235
Remarks
N/A
By default, no static or dynamic
IPv6 prefixes exist.
N/A
By default, no IPv6 prefix is
specified for the interface to
automatically generate an IPv6
global unicast address.
Need help?
Do you have a question about the FlexNetwork MSR Series and is the answer not in the manual?