Huawei 8016DHCP Configuration

Source: Internet
Author: User
Tags interface switches client
2.DHCPserver connection in switch g1/0/0, belong to vlan100, Gateway namely VLAN100 virtual interface address 192.168.0.1/24

3. The switch connects SWITCHAG1/1,G1/0/2 via G1/0/1 connection SWITCHBG1/1

4.SwitchA Connect SWITCHC via G2/1 G1/1

5.vlan10 's user segment is 10.10.1.1/24

6.vlan20 's user segment is 10.10.2.1/24

7.vlan30 's user segment is 10.10.3.1/24

8.SwitchA and SWITCHC for two-layer switches, SWITCHB for three-layer switches

Network requirements 1.8016 for Dhcprelay, using the remote dhcpserver for SwitchA under the VLAN10 assigned IP address

The Vlan20 user on the 2.SwitchB is a gateway with a Vlan20 virtual interface on 8016 and 8016 as DHCPServer assigning IP addresses directly to them

3.SwitchC vlan30 users to SwitchB Vlan30 virtual interface for the gateway, 8016 for the dhcpserver assigned IP address

2 Data configuration steps

The role of 8016DHCPRelay is to adapt to the client and server is not the same network segment, through relay, users of different subnets can apply to the same DHCPServer IP address, so as to facilitate the management and maintenance of the address pool.

8016

1.DHCPserver to be configured on a VLAN, this VLAN can be arbitrary, but to implement relay, do not configure the server with any client to the same VLAN, it is recommended to specifically set the VLAN for the DHCPServer group to use, This configures the VLAN for the port of the DHCP server Group 1 to 100.

[Quidway] VLAN 100

[quidway-vlan100] Port gigabitethernet 1/0/0

[Quidway] Interface vlanif 100

2. Configure the DHCPServer gateway address

[quidway-vlanif100] IP address 192.168.0.1 255.255.255.0

3. Configure the DHCP server group 1 corresponding IP address.

[Quidway] DHCP relay server-group 1 server 192.168.0.10

4. Configure Dhcp[quidway] DHCP relay Server-group 1 VLAN 10

5. Enter G1/0/1, set to trunk port, allow Vlan10 to pass

[Quidway-gigabitethernet 1/0/1] Port trunk Permit VLAN 10

6. Configure the corresponding gateway address of the VLAN10.

[Quidway] Interface vlanif 10

[QUIDWAY-VLANIF10] IP address 10.10.1.1 255.255.255.0

8016 There are two kinds of user types for built-in dhcpserver: one is S8016 VLAN user, the user initiates DHCP request directly to S8016, this kind is called VLAN address pool user, the other is the intermediate pass the DHCP relay device (for example MA5200 device), The DHCP request passed Dhcprelay before it reached S8016, a class called the Global address pool user.

8016vlan user

1. The user has a VLAN ID of 20, creating and entering the VLAN configuration view.

[Quidway] VLAN

2. Set VLAN 20 user address assignment to local.

[Quidway-vlan20] Address allocate the local

3. Configure VLAN The 20 interface IP address 10.10.2.1, and specifies that the dhcpserver can be assigned an address resource of 10.10.2.0~10.10.2.255.

[Quidway] interface VLAN

[QUIDWAY-VLANIF20] IP address 10.10.2.1 255.255.255.0

4. S8016 A DNS server is hung, the IP address is 10.10.2.15, the IP address of the DNS server is set in S8016, and the IP address is prohibited from being assigned to the user in the address pool.

[quidway-vlan2] DHCP server forbidden-ip 10.10.2.15

[quidway-vlan2] DNS primary-ip 10.10.2.15

5. Enter G1/0/2, set to trunk port, allow vlan20 through

[quidway-gigabitethernet 1/0/2] Port trunk Permit VLAN

Global Address User 1. Create Global address pool and name "ABC", Address pool user gateway address is 10.10.30.1

[quidway] DHCP server ip-pool abc10.10.3.1 255.255.255.0

2. Configure routing IP Information

[Quidway] DHCP server gateway ABC 10.10.3.1

3.s8016 A different DNS server is hung. The IP address is 10.10.3.15, the IP address of the DNS server is set in S8016, and the IP address is prohibited from being assigned to the user in the address pool.

[quidway] DNS PRIMARY-IP ABC 10.10.3.15

[quidway] DHCP server FORBIDDEN-IP ABC 10.10.3.15

4. Configure VLAN200 and SwitchB corresponding virtual interfaces vlan200 on the same network segment

[Quidway] interface vlanif

[quidway-vlanif200] IP address 10.10.10.1 255.255.255.0

SwitchB related configuration 3. In practice, the uplink port is typically set to the trunk property, allowing VLAN to pass through

[switchb-gigabitethernet2/1]port link-type trunk

4. Allow SWITCHC VLAN to pass through the

[switchb-gigabitethernet2/1]port trunk Permit VLAN

5 from the G2/1 port. In practice, the uplink port is typically set to the trunk property, allowing the VLAN to pass through

[switchb-gigabitethernet1/1]port link-type trunk

6. Allow all VLANs from e0/ 3 Port pass through, you can also specify a specific VLAN value

[switchb-gigabitethernet1/1]port trunk Permit VLAN

7. Create (enter) Vlan30 virtual interface

[Switchb]interface vlan-interface

8. Configure IP addresses for virtual interfaces for Vlan30

[Switchb-vlan-interface30]ip Address 10.10.3.1 255.255.255.0

[SwitchB]

9. Define a dhcpserver

[switchb]dhcp-server 0 IP 10.10.10.1

[Switchb-vlan-interface30]dhcp-server0

10. Create (Enter) vlan200 virtual interface, vlan200 for SWITCHB and 8016 interconnect

[SwitchB ]interface vlan-interface

11. Configure IP addresses for the virtual interface of vlan200

[Switchb-vlan-interface200]ip address 10.10.10.2 255.255.255.0

SWITCHC related configuration 3. In practice, the uplink port is generally set to the trunk property, allowing the VLAN to pass through

[Switchc-gigabitethernet1/1]port Link-type Trunk

4. Allow all VLANs to pass through through the E0/3 port, or you can specify a specific VLAN value

[Switchc-gigabitethernet1/1]port trunk Permit VLAN 30

3 Test Verification

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.