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

Configuration Guide - IP Service

S7700 and S9700 V200R013C00

This document describes the configurations of IP service, including IP address, ARP, DHCP, DNS, mDNS gateway, mDNS relay, UDP Helper, IP performance optimization, IPv6, DHCPv6, IPv6 DNS, IPv6 over IPv4 tunnel and IPv4 over IPv6 tunnel.
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).
IPv6 Address/Prefix Allocation and Lease Updating

IPv6 Address/Prefix Allocation and Lease Updating

IPv6 Address Allocation Sequence

The DHCPv6 server allocates an IPv6 address or prefix to a DHCPv6 client in the following sequence:

  1. Select an IPv6 address pool.

    An IPv6 address pool can be bound to an interface of the DHCPv6 server. The DHCPv6 server assigns an address or prefix to the DHCPv6 client from the IPv6 address pool. If a relay exists, the IPv6 address pool cannot be bound to the interface of the DHCPv6 server. Based on the first link-address field (identifies the link range of the DHCPv6 clients) whose value is not 0 in the packet, the address pool that can be bound must be in the same link range with the network prefixes or IPv6 address prefixes in the configured address pools.

  2. Select an IPv6 address or prefix.

    After the address pool is configured, the DHCPv6 server assigns IPv6 addresses or prefixes to DHCPv6 clients in the following procedures:

    1. If IPv6 addresses or prefixes have been specified in the address pool, these addresses and prefixes matching the client DUIDs are preferentially assigned to clients.
    2. If the IA option in the packet sent from the client carries valid addresses or prefixes, these addresses or prefixes are preferentially assigned to clients from the address pool. If these addresses or prefixes are unavailable in the address pool, other idle addresses or prefixes are assigned to clients. If the IPv6 prefix length exceeds the assigned length, the IPv6 prefix of the assigned length is assigned.
    3. Idle addresses and prefixes are assigned to clients from the address pool. Reserved addresses, conflicted addresses, and used addresses cannot be assigned to clients. Reserved addresses include unspecified addresses, multicast addresses, loopback addresses, link-local addresses, NSAP addresses, and anycast addresses (defined in RFC 2526).
    4. If no IPv6 address or prefix can be assigned, address or prefix allocation fails.

DHCPv6 Address Lease Updating

The addresses allocated by DHCPv6 servers to DHCPv6 clients have leases. A lease is composed of the lifetime (including the preferred lifetime and valid lifetime) and lease extension time (T1 and T2 in an IA). After the valid lifetime of an address is reached, a DHCPv6 client can no longer use this address. Before the valid lifetime is reached, a DHCPv6 client needs to update the address lease if it needs to continue to use this address.

To extend the valid lifetime and preferred lifetime for the addresses associated with an IA, a DHCPv6 client sends a Renew packet to the DHCPv6 server at T1. The IA option in the Renew packet carries the addresses whose leases need to be extended. If the DHCPv6 client does not receive a response packet, it sends a Rebind packet at T2 to the DHCPv6 server to continue to extend the address lease.

Figure 10-8 shows the process of updating the address lease at T1.

Figure 10-8  Process of updating the address lease at T1

The process of updating the address lease at T1 is as follows:

  1. A DHCPv6 client sends a Renew packet to request to update the address lease at T1 (the recommended value of T1 is half the preferred lifetime).
  2. A DHCPv6 server responds with a Reply packet.
    • If the DHCPv6 client can continue to use the address, the DHCPv6 server responds with a Reply packet indicating that the address lease is extended successfully. In addition, the DHCPv6 server informs the DHCPv6 client that the address lease is updated successfully.
    • If the DHCPv6 client cannot use the address, the DHCPv6 server responds with a Reply packet indicating that address lease extension fails. In addition, the DHCPv6 server informs the DHCPv6 client that the DHCPv6 client cannot obtain a new address lease.

Figure 10-9 shows the process of updating the address lease at T2.

Figure 10-9  Process of updating the address lease at T2

The process of updating the address lease at T2 is as follows:

  1. A DHCPv6 client sends a Renew packet to request to update the address lease at T1, but does not receive a response packet from a DHCPv6 server.
  2. The DHCPv6 client multicasts a Rebind packet to all the DHCPv6 servers to request them to update the address lease at T2 (the recommended value of T2 is 0.8 times the preferred lifetime).
  3. A DHCPv6 server responds with a Reply packet.
    • If the DHCPv6 client can continue to use the address, the DHCPv6 server responds with a Reply packet indicating that the address lease is extended successfully. In addition, the DHCPv6 server informs the DHCPv6 client that the address or prefix lease is updated successfully.
    • If the DHCPv6 client cannot use the address, the DHCPv6 server responds with a Reply packet indicating that address lease extension fails. In addition, the DHCPv6 server informs the DHCPv6 client that the DHCPv6 client cannot obtain a new address lease.

    If the DHCPv6 client does not receive a response packet from the DHCPv6 server, the DHCPv6 client stops using this address after the valid lifetime is reached.

IP Address Reservation

The DHCPv6 server supports reserved IPv6 addresses that cannot be dynamically allocated. For example, an IPv6 address can be reserved for a DNS server.

Translation
Download
Updated: 2019-04-20

Document ID: EDOC1100065743

Views: 29479

Downloads: 31

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