Network requirements, Configuration procedure – H3C Technologies H3C SecPath F1000-E User Manual

Page 206

Advertising
background image

181

You can use the display dhcp server ip-in-use command on the DHCP server to view the IP addresses

assigned to the clients.

Dynamic IP address assignment configuration example

Network requirements

As shown in

Figure 103

, the DHCP server (SecPath) assigns IP address to clients on subnet

10.1.1.0/24, which is subnetted into 10.1.1.0/25 and 10.1.1.128/25.

The IP addresses of GigabitEthernet 0/1 and GigabitEthernet 0/2 on the SecPath are 10.1.1.1/25
and 10.1.1.129/25 respectively.

In subnet 10.1.1.0/25, the address lease duration is ten days and twelve hours, domain name suffix
aabbcc.com, DNS server address 10.1.1.2/25, WINS server address 10.1.1.4/25, and gateway

address 10.1.1.126/25.

In the subnet 10.1.1.128/25, the address lease duration is five days, domain name suffix
aabbcc.com, DNS server address 10.1.1.2/25, and gateway address 10.1.1.254/25 and there is

no WINS server address.

The domain name suffix and DNS server address on subnets 10.1.1.0/25 and 10.1.1.128/25 are the
same. Therefore, the domain name suffix and DNS server address need to be configured only for

subnet 10.1.1.0/24. Subnet 10.1.1.0/25 and 10.1.1.128/25 can inherit the configuration of subnet

10.1.1.0/24.

Figure 103 Network diagram

Configuration procedure

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

Configure the DHCP server
# Enable DHCP.

<SecPath> system-view

[SecPath] dhcp enable

# Enable the DHCP server on GigabitEthernet 0/1 and GigabitEthernet 0/2.

[SecPath] interface GigabitEthernet 0/1

[SecPath-GigabitEthernet0/1] dhcp select server global-pool

[SecPath-GigabitEthernet0/1] quit

[SecPath] interface GigabitEthernet 0/2

[SecPath-GigabitEthernet0/2] dhcp select server global-pool

Advertising