Related Documentation
- M, MX, T Series
- DHCP Access Service Overview
- M, MX, PTX, T Series
- Configuring Manual (Static) DHCP Bindings Between a Fixed IP Address and a Client MAC Address
Configuring Address Pools for DHCP Dynamic Bindings
For dynamic bindings, set aside a pool of IP addresses that can be assigned to clients. Addresses in a pool must be available to clients on the same subnet.
To configure an address pool, include the following statements at the [edit system services dhcp] hierarchy level:
The pool definition must include the client subnet number and prefix length (in bits). Optionally, the definition can include an address range and a list of excluded addresses.
The address-range statement defines the lowest and highest IP addresses in the pool that are available for dynamic address assignment. This statement is optional. If no range is specified, the pool will use all available addresses within the subnet specified. (Broadcast addresses, interface addresses, and excluded addresses are not available.)
The exclude-address statement specifies addresses within the range that are not used for dynamic address assignment. You can exclude one or more addresses within the range. This statement is optional.
The following is an example of a pool configuration.
For dynamic address assignment, configure an address pool for each client subnet the DHCP server supports. You can configure multiple address pools for a DHCP server, but only one address range per pool is supported.
DHCP maintains the state information for all pools configured. Clients are assigned addresses from pools with subnets that match the interface on which the DHCPDISCOVER packet is received. When more than one pool exists on the same interface, addresses are assigned on a rotating basis from all available pools.
Related Documentation
- M, MX, T Series
- DHCP Access Service Overview
- M, MX, PTX, T Series
- Configuring Manual (Static) DHCP Bindings Between a Fixed IP Address and a Client MAC Address
Published: 2012-07-03
Related Documentation
- M, MX, T Series
- DHCP Access Service Overview
- M, MX, PTX, T Series
- Configuring Manual (Static) DHCP Bindings Between a Fixed IP Address and a Client MAC Address