Chapter 20 DHCP Configuration DGS-3610 Series Configuration Guide
DHCP client configuration of the HDLC encapsulation link (optional)
20.5.1 Enabling DHCP Server and Relay
Agent
To enable the DHCP server and the relay agent, execute the following commands in the
global configuration mode:
DGS-3610(config)# service dhcp
Enable the DHCP server and the DHCP relay
agent
DGS-3610(config)# no service dhcp
Disable the DHCP server and the relay agent
20.5.2 Configuring DHCP Excluded
Addresses
Unless otherwise configured, the DHCP server tries to assign all the subnet addresses
defined in the address pool to the DHCP client. If you want to reserve some addresses, such
as those that have been assigned to servers or devices, you must define clearly that these
addresses cannot be assigned to clients.
To configure the addresses that cannot be assigned to clients, execute the following
commands in the global configuration mode:
DGS-3610(config)# ip dhcp
excluded-address
low-ip-address [ high-ip-address ]
Define a range of IP addresses that the DHCP will
not assign to clients
DGS-3610(config)# no ip dhcp
excluded-address
low-ip-address [ high-ip-address ]
A good practice in configuring the DHCP server is to prohibit DHCP from assigning any
address that has been assigned specifically. This provides two advantages: 1) No address
conflict will occur; 2) When DHCP assigns addresses, the time for detection is shortened
and thus DHCP will perform assignment more efficiently.
20.5.3 Configuration of DHCP Address Pool
Address assignment by DHCP and each DHCP parameter sent to the client should be
defined in the DHCP address pool. If no DHCP address pool is configured, addresses
cannot be assigned to clients even when the DHCP server has been enabled. However, if
the DHCP has been enabled, the DHCP relay agent is always working regardless of the
DHCP address pool.