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 the Functions of a DHCP Client

Configuration Condition

None

Configure a DHCP Client

A DHCP client interface obtains an IP address and other parameters through DHCP.

Table 3-14 Configuring a DHCP Client

Step

Command

Description

Enter the global configuration mode.

configure terminal

-

Enter the interface configuration mode.

interface interface-name

-

Configure the DHCP client to obtain an IP address.

ip address dhcp [ request-ip-address ip-address ]

Mandatory.

By default, the DHCP client is not configured to obtain an IP address.

Configure the DHCP Route Distance

In IP routing table, each protocol has a management distance to control routing, that is, routing distance. Routing distance is used to make routing decisions for the same segment routes from different protocols. The route with small routing distance is prior.

Table 3-15 Configure the DHCP route distance

Step

Command

Description

Enter the global configuration mode.

configure terminal

-

Configure the DHCP route distance

ip dhcp route-distance distance

Mandatory

By default, the DHCP route distance is 254.

Configure option 60 Function

The content of DHCP option 60 is manufacturer ID. When the DHCP client requests, it can carry the option 60. The server can customize the ip address distributing policy according to the option.

Table 3-16 Configure DHCP option 60 function

Step

Command

Description

Enter the global configuration mode.

configure terminal

-

Enter the interface configuration mode

interface interface-name

-

Configure the option 60 function

ip dhcp vendor-class-identifier {disable | content hex-string}

By default, carry the option 60 option.

Configure DHCP Client Not to Request for Default Route Option

When the DHCP client request for the IP address, request for the default route by default. The user can specify the DHCP client not to request for the default route, but configure the route by self.

Table 3-17 Configure DHCP client not to request for the default route option

Step

Command

Description

Enter the global configuration mode.

configure terminal

-

Configure DHCP client not to request for the default route option

ip dhcp router-option disable

Mandatory

By default, the DHCP client requests for the default route option.