H3C Campus Fixed-Port Switches Web-Based Quick Start Configuration Guide-6W100

HomeSupportQuick StartH3C Campus Fixed-Port Switches Web-Based Quick Start Configuration Guide-6W100
07-DHCP Server
Title Size Download
07-DHCP Server 248.50 KB

DHCP Server Quick Start Configuration Guide

Network configuration

As shown in Figure 1, department A uses VLAN 2, department B uses VLAN 3, and department C uses VLAN 4. Configure the core switch as a DHCP server for dynamic IP address assignment to the hosts in department A, department B, and department C.

Figure 1 Network diagram

 

Procedure

1.     Configure VLAN.

a.     From the left navigation pane, select Network > Links > VLAN.

b.     On the page that opens, click the create icon  to create VLAN 2.

c.     Add VLAN 2 to the VLAN list, and then click Apply.

Figure 2 Creating VLAN 2

 

d.     Click the edit icon  on the right of VLAN 2 to edit the settings of VLAN 2.

e.     Add GE1/0/2 to the untagged port list of VLAN 2.

f.     Select Configure VLAN interface at the IP address of the VLAN interface parameter.

g.     Assign IP address 192.168.5.1 and subnet mask 255.255.255.0 to VLAN-interface 2.

Figure 3 Configuring VLAN 2

 

h.     Click Apply.

The system displays a success message if you configure VLAN 2 successfully.

i.     Configure VLAN 3 and VLAN 4 in the same way as you configure VLAN 2. Details are not shown.

2.     Create DHCP address pool.

a.     From the left navigation pane, select Network > Service > DHCP.

b.     On the page that opens, click Enable DHCP.

Figure 4 Enabling DHCP

 

c.     Click Address pool at the upper right of the DHCP configuration page, and then click Add Address Pool to create DHCP address pool 1.

Figure 5 Adding DHCP address pool

 

Figure 6 Creating DHCP address pool 1

 

d.     Click the Address Assignment tab. On the page, specify IP address range 192.168.5.0/24 for dynamic address assignment in DHCP address pool 1.

Figure 7 Specifying IP address range for dynamic address assignment

 

e.     Click the DHCP Options tab, enter 192.168.5.1 as the gateway in DHCP address pool 1, and then click the add icon .

f.     Click Apply. The system displays a success message if you configure DHCP address pool 1 successfully.

Figure 8 Specifying gateway in DHCP address pool 1

 

3.     Configuring VLAN interfaces to operate in DHCP server mode.

a.     From the left navigation pane, select Network > Service > DHCP.

b.     On the page that opens, set the DHCP service type to DHCP server for VLAN-interface 2, VLAN-interface 3, and VLAN-interface 4. By default, an interface operates in DHCP server mode.

Figure 9 Configuring DHCP server mode

 

c.     Click the  icon on the top right of the page to configure advanced DHCP settings. On the page that opens, set the maximum number of ping packets to 1 and the ping response timeout time to 500 milliseconds.

Figure 10 Configuring advanced DHCP settings

 

d.     Click Apply. The system displays a success message if you configure the advanced DHCP settings successfully.

4.     Save the configuration.

a.     From the left navigation pane, select Device > Configuration.

Figure 11 Entering configuration file page

 

b.     Click Saving Running Configuration, and then save the running configuration to the next-startup configuration file or to a specific file.

If you save the running configuration to a specific file, the system uses the file as the next-startup configuration file.

c.     Click Apply.

Figure 12 Saving running configuration

 

Verifying the configuration

Verify that the switch can dynamically assign an IP address from the desired subnet to Client A, Client B, or Client C.

To view the IP addresses assigned by the DHCP server, perform the following tasks:

1.     From the left navigation pane on the switch configuration page, select Network > Service > DHCP.

2.     Click Address pool at the upper right of the DHCP configuration page.

3.     Click the IP in Use tab.

  • Cloud & AI
  • InterConnect
  • Intelligent Computing
  • Security
  • SMB Products
  • Intelligent Terminal Products
  • Product Support Services
  • Technical Service Solutions
All Services
  • Resource Center
  • Policy
  • Online Help
All Support
  • Become a Partner
  • Partner Resources
  • Partner Business Management
All Partners
  • Profile
  • News & Events
  • Online Exhibition Center
  • Contact Us
All About Us
新华三官网