No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

NE40E V800R010C10SPC500 Configuration Guide - User Access 01

This is NE40E V800R010C10SPC500 Configuration Guide - User Access
Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
Configuring DHCPv6 (IA_NA+IA_PD) Address Allocation

Configuring DHCPv6 (IA_NA+IA_PD) Address Allocation

This section describes how to configure the NE40E to use DHCPv6 to allocate IPv6 addresses and prefixes to the WAN interface on the CPE when the CPE works in numbered routing mode. The CPE sends the prefixes to the attached hosts for them to generate IPv6 addresses.

Usage Scenario

The NE40E uses DHCPv6 to allocate addresses to the WAN interfaces on the CPE and uses PD to allocate the prefixes to the CPE working in numbered mode. The CPE sends the prefixes to Home LANs.

Figure 5-8 Networking diagram of DHCPv6(IA_NA+IA_PD) Address Allocation

The CPE initiates a connection request, and the NE40E uses DHCPv6 (IA_NA) to allocate IPv6 addresses to the WAN interfaces on the CPE and uses DHCPv6 (IA_PD) to allocate prefixes to the CPE and the CPE allocates the prefixes to the attached host for the host to generate IPv6 addresses.

Pre-configuration Tasks

Before configuring DHCPv6(IA_NA+IA_PD) address allocation, complete the following tasks:

Setting the CPE working mode to numbered routing mode

Enabling IPv6 on interfaces

Configuring the NE40E based on Its Role

This section describes how to configure the NE40E based on its role.

Context

When IA_NA is used to allocate addresses to the WAN interfaces on the CPE, refer to the configuration of Configuring DHCPv6 (IA_NA) Address Allocation.

When DHCPv6 (IA_PD) is used to allocate prefixes to the CPE, refer to the configuration of Configuring DHCPv6 (IA_PD) Prefix Allocation.

NOTE:

In IA_NA+IA_PD address allocation, a DNS server must be configured for both the address pool for IA_NA address allocation and the address pool for IA_PD address allocation.

Configuring the State of Address Allocation

Configuring the state of address allocation according to the IPv6 access mode and address allocation mode.

Context

Stateful address allocation (M=1) should be configured for IA_NA and IA_NA+IA_PD address allocation modes.

If the M flag is 1, the clients need to obtain IPv6 addresses and other configuration information in stateful mode.

NOTE:
  • For PPPoE users, the domain configuration determines whether stateful or stateless configuration should be adopted.
  • For IPoE users, the interface configuration determines whether stateful or stateless address configuration should be adopted.

Perform the following steps on the NE40E:

Procedure

  • Configure the state of address allocation on an interface.
    1. Run system-view

      The system view is displayed.

    2. Run interface interface-type interface-number

      The interface view is displayed.

    3. Run ipv6 nd autoconfig managed-address-flag

      Stateful address allocation mode is enabled.

    4. Run ipv6 nd autoconfig other-flag

      The O flag is set to 1 to enable stateful mode.

    Configures unicast as the destination IP address type for RA packets.

    1. Run bas

      The BAS interface view is displayed.

    2. (Optional) Run ipv6 nd ra unicast

      The router is enabled to send RA packets that carry unicast destination IP addresses in response to IPoEv6 user access requests.

  • Configure the state of address allocation in a domain.
    1. Run system-view

      The system view is displayed.

    2. Run aaa

      The AAA view is displayed.

    3. Run domain domain-name

      A domain is created and the AAA domain view is displayed.

    4. Run ipv6 nd autoconfig managed-address-flag [ interface-id ipv6cp ]

      Stateful address allocation is configured for PPPoX users.

    5. Run ipv6 nd autoconfig other-flag { ndra | dhcpv6 }

      The O flag is set.

    6. (Optional) Run prefix-assign-mode unshared

      The IPv6 prefix allocation mode is set to unshared mode. After the configuration, IPv6 users do not share the same IP prefix.

    7. (Optional) Run dhcpv6-follow-ipv6cp wait-delay { time-value| infinity }

      The timeout period for waiting for a DHCPv6 connection request is set.

    8. (Optional) Run ipv6 nd ra unicast

      The router is enabled to send RA packets that carry unicast destination IP addresses in response to PPPv6 user access requests.

  • Run commit

    The configuration is committed.

Verifying the DHCPv6 (IA_NA+IA_PD) Address Allocation Configuration

After DHCPv6 PD (IA_NA+IA_PD) address allocation is configured, you can check the configuration of the IPv6 address pool, the prefix pool, the domain, and address usage in the address pool bound to the domain.

Procedure

  • Run the display ipv6 pool [ pool-name ] command to check the IPv6 address pool configurations.
  • Run the display ipv6 prefix [ prefix-name [ all | used ] ] command to check the IPv6 prefix pool configurations.
  • Run the display domain [ domain-name ] command to check the domain configurations.
  • Run the display ipv6-pool pool-usage [ domain domain-name | pool-name [ pool-name ] ] command to check information about the usage of the address pool.
  • Run the display ipv6-pool max-ratio domain command to check information about IPv6 address pool or prefix pool usage in all domains on the device.
  • Run the display ipv6-pool pool-usage { upper-threshold | lower-threshold | all-threshold } command to check information about domains whose IPv6 address pool or prefix pool usage exceeds a specified threshold.
Translation
Download
Updated: 2019-01-03

Document ID: EDOC1100055031

Views: 17452

Downloads: 70

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next