beautypg.com

Network requirements, Configuration procedure – H3C Technologies H3C S5560 Series Switches User Manual

Page 63

background image

48

# Verify that Switch C can obtain IP address 10.1.1.6 and all other network parameters from Switch A.

(Details not shown.)
# On the DHCP server, display the IP addresses assigned to the clients.

[SwitchA] display dhcp server ip-in-use

Hardware address

10.1.1.5 0030-3030-662e-6532- Jan 21 14:27:27 2014 Static(C)

3030-2e30-3030-322d-

4574-6865-726e-6574

10.1.1.6 000f-e200-01c0 Unlimited Static(C)

Dynamic IP address assignment configuration example

Network requirements

As shown in

Figure 17

, the DHCP server (Switch A) assigns IP addresses to clients on subnet 10.1.1.0/24,

which is subnetted into 10.1.1.0/25 and 10.1.1.128/25.
Configure address range 10.1.1.0/25 and configuration parameters in DHCP address pool 1 so the

DHCP server assigns IP addresses in subnet 10.1.1.0/25 with the lease duration of 10 days and 12 hours
and configuration parameters to clients that connect to VLAN-interface 10 of the server.
Configure address range 10.1.1.128/25 and configuration parameters in DHCP address pool 2 so the

DHCP server assigns IP addresses in subnet 10.1.1.128/25 with the lease duration of five days and

configuration parameters to clients that connect to VLAN-interface 20 of the server.

Figure 17 Network diagram

Configuration procedure

1.

Specify IP addresses for the VLAN interfaces. (Details not shown.)

2.

Configure the DHCP server:
# Enable DHCP.

system-view

[SwitchA] dhcp enable

# Enable the DHCP server on VLAN-interface 10 and VLAN-interface 20.

[SwitchA] interface vlan-interface 10

[SwitchA-Vlan-interface10] dhcp select server

[SwitchA-Vlan-interface10] quit

This manual is related to the following products: