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

CloudEngine 8800, 7800, 6800, and 5800 V200R002C50

This document describes the configurations of IP Service, including IP address, ARP, DHCP, DNS, IP performance optimization, IPv6, DHCPv6, and IPv6 DNS.
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 DHCP Relay in Inter-VPN Scenarios

(Optional) Configuring DHCP Relay in Inter-VPN Scenarios

Context

When DHCP clients and the DHCP server are located in different VPNs, you can configure DHCP relay on the DHCP relay interface to allow the communication between them.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run dhcp enable

    DHCP is enabled globally.

  3. Run interface interface-type interface-number

    The interface view is displayed.

  4. Run ip address ip-address { mask | mask-length }

    The interface's IP address is configured.

  5. (Optional) Run ip address ip-address { mask | mask-length } sub

    A secondary IP address is configured for the interface.

    If the DHCP relay agent fails to use the primary IP address to apply for IP addresses for DHCP clients, run this command to configure a secondary IP address as a gateway address to apply for IP addresses for the DHCP clients.

  6. Run dhcp select relay

    DHCP relay is enabled.

  7. Run dhcp relay binding server ip ip-address { vpn-instance vpn-instance-name | public-net }

    An IP address is configured for the DHCP server.

  8. Run dhcp option82 { vss-control | link-selection | server-id-override } insert enable

    The function of inserting the Option 82 field into packets is enabled on the DHCP relay interface.

  9. (Optional) Run dhcp relay gateway ip-address

    The relay agent address is configured.

    By default, a DHCP relay interface uses its primary IP address as the relay agent address.

  10. (Optional) Run dhcp relay gateway-switch enable

    The function of switching the relay agent address is enabled.

    If the DHCP relay agent fails to use the primary IP address to apply for IP addresses for DHCP clients, this function allows the DHCP relay agent to use the secondary IP address as a gateway address to apply for IP addresses for the DHCP clients.

  11. (Optional) Run dhcp relay giaddr outgoing-interface-address

    The relay agent address is configured as the IP address of the outbound interface.

    In inter-VPN scenarios, if the DHCP server supports the suboption link-selection of the Option 82 field, you can run this command to address the issue that return routes fail to be found based on the GiAddr address.

  12. Run commit

    The configuration is committed.

Translation
Download
Updated: 2019-03-21

Document ID: EDOC1000166635

Views: 131597

Downloads: 285

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