beautypg.com

Chapter 8: configuring dhcp and dns – Asante Technologies 35516 User Manual

Page 99

background image

- 99 -

Chapter 8: Configuring DHCP and DNS

8.1 DHCP

Dynamic Host Control Protocol (DHCP) allows users to automatically assign re-usable IP addresses to DHCP clients.
The router software supports a full DHCP server implementation that assigns and manages IP addresses from
specified address pools within the router to DHCP clients.

8.1.1 Enabling DHCP Server

By default, the DHCP server function is disabled on your device. To enable it, issue the service dhcp command.

Use the no form of this command to disable the DHCP server feature.

8.1.2 Enabling DHCP Address Conflict Logging

By default, DHCP address conflict logging is disabled. To enable it, issue the ip dhcp conflict logging command.

Use the no form of this command to disable the DHCP address conflict logging.

8.1.3 Configuring DHCP Address Pool

A DHCP address pool can be configured with a name that is a symbolic string (such as “Marketing”) or an integer
number. Configuring a DHCP address pool also places you in DHCP pool configuration mode—identified by the
(config-dhcp)# prompt—from which you can configure pool parameters (for example, the IP subnet number and
default router list).

To configure the DHCP address pool name and enter DHCP pool configuration mode, use the following command in
global configuration mode:

Router(config)# ip dhcp pool name

Use the no form of this command to remove the configured DHCP address pool.

8.1.4 Configuring the DHCP Address Pool Subnet and Mask

To configure a subnet and mask for the newly created DHCP address pool, which contains the range of available IP
addresses that the DHCP server may assign to clients, use the following command in DHCP pool configuration
mode:

Note: You cannot configure manual bindings within the same pool that is configured with the network command. To
configure manual bindings, see the “Configuring Manual Bindings” section later in this chapter.

Router(config-dhcp)# network A.B.C.D/M

Use the no form of this command to remove the configured DHCP address pool subnet/mask.