Network Pools
When the device is serving as a DHCP server, one or more pools of IP addresses must be defined, from which the device allocates IP addresses to DHCP clients. Each network pool contains a range of addresses that belong to a specific subnet. These addresses are allocated to various clients within that subnet.
When a client requests an IP address, the device as DHCP server allocates an IP address according to the following:
-
Directly Attached Client—The device allocates an address from the network pool whose subnet matches the subnet configured on the device’s IP interface from which the DHCP request was received.
If the message arrived directly (not via DHCP Relay) the pool is a Local pool and belongs to one of IP subnets defined on the input layer 2 interface. In this case, the IP mask of the pool equals to the IP mask of the IP interface and the minimum and maximum IP addresses of the pool belong to the IP subnet.
-
Remote Client—The device takes an IP address from the network pool with the IP subnet that matches the IP address of the DHCP relay agent.
If the message arrived via DHCP relay, the address used belongs to the IP subnet specified by minimum IP address and IP mask of the pool. That pool is a remote pool.
Up to 16 network pools can be defined.
To create a pool of IP addresses, and define their lease durations, follow these steps:
Procedure
Step 1 | Click IPv4 Configuration > DHCP Server > Network Pools. The previously defined network pools are displayed. These fields are described below in the Add page. The following field is displayed (but not in the Add page):
|
Step 2 | Click Add to define a new network pool. Note that you either enter the Subnet IP Address and the Mask, or enter the Mask, the Address Pool Start and Address Pool End. |
Step 3 | Enter the fields:
|
Step 4 | Click Apply. The Running Configuration file is updated. |