Analysis of environment parameters and networking requirements of DHCP for Huawei Switches

Source: Internet
Author: User

An analysis of the environment parameters and networking requirements of DHCP for Huawei switches. The introduction of Environment Parameters for DHCP configuration for Huawei switches has always been a concern of everyone. Today, we will introduce the basic settings of relay data flow switches and the related settings of Huawei switches DHCP. Please refer to the relevant documents.

Configure environment parameters for DHCP of Huawei Switches 』
◆ DHCP server IP address 192.168.0.10/24
◆ The DHCP server is connected to the G1/0/0 vswitch and belongs to vlan100. The Gateway is the vlan100 Virtual Interface address 192.168.0.1/24.
◆ The switch connects to SwitchAG1/1 through G1/0/1 and to SwitchBG1/1 through G1/0/2
◆ SwitchA connects SwitchC G1/1 through G2/1
◆ The user network segment of vlan10 is 10.10.1.1/24.
◆ The user network segment of vlan20 is 10.10.2.1/24
◆ The user network segment of vlan30 is 10.10.3.1/24
◆ SwitchA and SwitchC are L2 switches, and SwitchB are L3 switches.

"Networking requirements 』
◆ 8016 as the DHCP relay of the Huawei switch, using the remote DHCP server of the Huawei switch to assign IP addresses to vlan10 under SwitchA
◆ Vlan20 users on SwitchB use vlan20 Virtual Interface on 8016 as the gateway, and 8016 as the DHCP server to directly assign IP addresses to them
◆ The vlan30 user on SwitchC uses the vlan30 Virtual Interface on SwitchB as the gateway, and 8016 assigns an IP address for the DHCP server.
◆ 2 Data configuration steps

"Huawei switch DHCP relay data process 』
The DHCP Relay function of the Huawei switch is to adapt to situations where the client and server are not in the same network segment. Through Relay, users of different subnets can apply for an IP address from the same Huawei switch DHCPserver, this facilitates the management and maintenance of the address pool.

DHCP relay configuration for Huawei Switches]
The DHCP server must be configured on a VLAN, which can be any VLAN. However, to implement Relay, do not configure the Server to the same VLAN as any client, we recommend that you specify a VLAN for the DHCP server group. Here, we configure VLAN 100 for the port corresponding to DHCP server group 1 of the Huawei switch.
◆ [Quidway] vlan 100
◆ [Quidway-vlan100] port gigabitethernet 1/0/0
◆ [Quidway] interface vlanif 100
◆ Configure the DHCP server's gateway address
◆ [Quidway-Vlanif100] ip address 192.168.0.1 255.255.255.0
◆ Configure the IP address corresponding to DHCP server group 1 of the Huawei switch.
◆ [Quidway] dhcp relay server-group 1 server 192.168.0.10
◆ Configure the VLAN range of the DHCP server group 1 service of the Huawei switch to 10
◆ [Quidway] dhcp relay server-group 1 vlan 10
◆ Enter G1/0/1, set to trunk port, and allow vlan10 to pass
◆ [Quidway-gigabitethernet 1/0/1] port trunk permit vlan 10
◆ Configure the gateway address of VLAN10.
◆ [Quidway] interface vlanif 10
◆ [Quidway-Vlanif10] ip address 10.10.1.1 255.255.255.0

"Huawei switch DHCP server data process 』

The built-in Huawei switch DHCP server has two types of users: one is the S8016 VLAN user, the user directly initiates the Huawei switch DHCP request to S8016, which is called a VLAN address pool user; the other is the intermediate DHCP relay device that passes through the Huawei switch, such as the MA5200 device. The DHCP request of the Huawei switch passes through the DHCP relay before it reaches the S8016, which is called a global address pool user.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.