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


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

Configuration Guide - IP Service
S1720, S2700, S5700, and S6720 V200R011C10

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).
Overview of DHCP Policy VLANs

Overview of DHCP Policy VLANs


On a network supporting VLAN assignment based on IP subnets, the DHCP policy VLAN allows communication between hosts that access the network for the first time and the DHCP server. The hosts can obtain valid IP addresses and network settings from the DHCP server. Upon receiving an untagged packet from a host, a switch adds a VLAN ID to the packet based on the source IP address of the packet. The host does not have a valid IP address and uses the IP address for temporary communication. The DHCP packet with the source IP address cannot be added to any VLAN based on IP subnets. The switch adds the default VLAN ID of the interface receiving the packet to the packet. Generally, the interface VLAN ID is different from the VLAN to which the DHCP belongs. Therefore, the DHCP server does not allocate the IP address or network settings to the host.

As shown in Figure 5-1, after the DHCP policy VLAN is configured, the switch sets the VLAN ID of the packet to the same as that of the DHCP server. In this way, the host can communicate with the DHCP server using DHCP packets. After the host obtains a valid IP address and network settings, packets from the host are added to the VLAN assigned based on IP subnets.

Figure 5-1  DHCP policy VLAN function

You can configure three types of DHCP policy VLAN on the device. They are listed in descending order based on priorities as follows: MAC address-based, interface-based, and generic DHCP policy VLANs.

The DHCP policy VLAN allows for setting 802.1p priorities of DHCP packets so that DHCP traffic is controlled and scheduled by quality of service (QoS).

Updated: 2020-02-26

Document ID: EDOC1000178170

Views: 271855

Downloads: 1028

Average rating:
This Document Applies to these Products

Related Version

Related Documents

Previous Next