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

S1720, S2700, S5700, and S6720 V200R012(C00 and C20)

This document describes the configurations of IP Service, including IP address, ARP, DHCP, DHCP policy VLAN, 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).
(Optional) Configuring the Function of Inserting the Option79 Field into DHCPv6 Messages

(Optional) Configuring the Function of Inserting the Option79 Field into DHCPv6 Messages

Context

The MAC address is used to identify the DHCPv4 client on the IPv4 network and the DUID is used to identify the DHCPv6 client on the IPv6 network. In an IPv4 and IPv6 dual-stack service deployment scenario, the administrator wants to establish connections between clients' MAC addresses and IPv4 or IPv6 addresses obtained by the clients and perform unified management over dual-stack clients based on the MAC address. However, the MAC address of the DHCPv6 client cannot be identified using the DUID currently.

As defined in RFC6939, a DHCPv6 relay agent can fill the link address and link type of a client into the Option79 field. When a device functions as a DHCPv6 relay agent, you can run the dhcpv6 relay option79 insert enable command to insert the Option79 field into DHCPv6 messages for enabling the DHCPv6 server to obtain the clients' MAC addresses. When this command is run and the DHCPv6 relay agent receives a Request message from a client, it inserts the Option79 field into the Request message and forwards the message to the DHCPv6 server. The DHCPv6 server then obtains the MAC address of the client by parsing the Option79 field.

NOTE:
  • Only the first-hop DHCPv6 relay agent supports this function.
  • This function takes effect for all interfaces if it is configured in the system view, and takes effect for a specified interface if it is configured in the view of the interface. If this command is configured in both the interface view and system view, the configuration in the interface view takes effect.

Prerequisites

  • The DHCPv6 function has been enabled in the system view.
  • The DHCPv6 relay function has been enabled in the interface view.

Procedure

  1. Configure the function of inserting the Option79 field in DHCPv6 messages in the system view.

    1. Run system-view

      The system view is displayed.

    2. Run dhcpv6 relay option79 insert enable

      The function of inserting the Option79 field in DHCPv6 messages is configured.

      By default, the Option79 field is not inserted into DHCPv6 messages.

  2. Configure the function of inserting the Option79 field in DHCPv6 messages in the interface view.

    1. Run system-view

      The system view is displayed.

    2. Run interface interface-type interface-number

      The interface view is displayed.

    3. Run dhcpv6 relay option79 insert enable

      The function of inserting the Option79 field in DHCPv6 messages is configured.

      By default, the Option79 field is not inserted into DHCPv6 messages.

Verifying the Configuration

Run the display dhcpv6 relay configuration [ interface interface-type interface-number ] command to check whether the function of inserting the Option79 field into DHCPv6 messages is configured in the system view or interface view.

Translation
Download
Updated: 2018-12-24

Document ID: EDOC1100038342

Views: 85084

Downloads: 281

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