Hà Nội: NTT03, Line 1, Thống Nhất Complex, 82 Nguyễn Tuân, Thanh Xuân, Hà Nội. ● HCM: Số 31B, Đường 1, Phường An Phú, Quận 2 (Thủ Đức), TP HCM. ===> Đơn Vị Hàng Đầu Trong Lĩnh Vực Cung Cấp Thiết Bị Security - Network - Wifi - CCTV - Conference - Máy chủ Server - Lưu trữ Storge.
Danh mục sản phẩm

Configure Other Parameters of a DHCP Server

Configuration Condition

None

Configure a DHCP Server

After configuring the interface to work in the DHCP server mode, when the interface receives the DHCP request packet sent by the DHCP client, the DHCP server will distribute the IP address and other network parameters for the client.

Table 3-10 Configure a DHCP server

Step

Command

Description

Enter the global configuration mode.

configure terminal

-

Enter the interface configuration mode

interface interface-name

-

Configure the DHCP server function

ip dhcp server

Mandatory

By default, do not configure the DHCP server function.

Configure the Range of Reserved IP Addresses

In a DHCP address pool, some IP addresses are reserved for some special devices, and some IP addresses conflict with the IP addresses of other hosts in the network. Therefore, the IP addresses cannot be dynamically allocated.

Table 3-11 Configuring the Range of Reserved IP Addresses

Step

Command

Description

Enter the global configuration mode.

configure terminal

-

Configure the range of reserved IP addresses.

ip dhcp excluded-address low-ip-address [ high-ip-address ] [ vrf vrf-name ]

Mandatory.

By default, the range of reserved IP addresses is not configured.

The IP addresses in the reserved IP address range will not be allocated.

Configure DHCP Ping Detection Parameters

To prevent an IP address conflict, before dynamically allocating an IP address to a DHCP client, a DHCP server must detect the IP address. The detection operation is performed through the ping operation. The DHCP server determines whether an IP address conflict exists by checking whether an ICMP echo response packet is received within the specified time.

Table 3-12 Configuring DHCP Ping Detection Parameters

Step

Command

Description

Enter the global configuration mode.

configure terminal

-

Configure DHCP ping detection parameters.

ip dhcp ping { packets packet-num | timeout milliseconds }

Mandatory.

By default, the number of ping packets is 1, and the timeout time is 500 ms.

Configure the DHCP Data Log Function

After enabling the data log function of the DHCP server, the distributed address pool on the DHCP server is recorded to the data log.

Table 3-13 Configure the DHCP data log function

Step

Command

Description

Enter the global configuration mode.

configure terminal

-

Configure the data log function of the DHCP server

ip dhcp logging security-data

Mandatory

By default, do not enable the data log function.