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 NDRA+DHCPv6 (IA_PD) Address Allocation

Configuring NDRA+DHCPv6 (IA_PD) Address Allocation

This section describes how to configure the NE40E to use ND to allocate IPv6 addresses to the WAN interfaces on the CPE and use DHCPv6 (IA_PD) to allocate prefixes to the CPE when the CPE works in numbered routing mode. The CPE allocates the prefixes to the attached hosts to generate IPv6 addresses.

Usage Scenario

The CPE sends a DHCPv6 packet only carrying the IA_PD option to allocate IPv6 prefixes to Home LANs; the NE40E uses an RA packet to send the IPv6 prefixes allocated to the WAN interfaces on the CPE to the CPE to generate IPv6 addresses.

Figure 5-10 Networking diagram of NDRA+DHCPv6 (IA_PD) address allocation

The CPE initiates a connection request, and the NE40E uses NDRA 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 NDRA+DHCPv6 (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 is role.

Context

When NDRA is used to allocate addresses to the WAN interfaces on the CPE, refer to the configuration of Configuring NDRA 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 NDRA+IA_PD address allocation, a DNS server must be configured for both the address pool for NDRA address allocation and the address pool for IA_PD address allocation.

(Optional) Configuring the state of Address Allocation

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

Context

Stateless address allocation (M=0) should be configured for NDRA and NDRA+IA_PD address allocation modes. By default, the M flag is 0, you need not configuration.

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.

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

Perform the following steps on router.

Procedure

  • State of the interface
    1. Run system-view

      The system view is displayed.

    2. Run interface interface-type interface-number

      The interface view is displayed.

    3. Run undo ipv6 nd autoconfig managed-address-flag

      Stateless address allocation mode is enabled.

    4. Run ipv6 nd autoconfig other-flag

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

  • State of the 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 view is displayed.

    4. Run undo ipv6 nd autoconfig managed-address-flag

      Stateless address allocation is configured for PPPoX users.

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

      The O flag is set.

    6. 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. Run dhcpv6-follow-ipv6cp wait-delay time-value

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

  • Run commit

    The configuration is committed.

Verifying the NDRA+DHCPv6 (IA_PD) Address Allocation Configuration

After NDRA+DHCPv6 (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: 17376

Downloads: 70

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