[ Contents] [ Prev] [ Next] [ Index] [ Report an Error]

Configuring How the Extended DHCP Local Server Determines Which Address-Assignment Pool To Use

You can specify the method that the extended DHCP local server uses to determine which address-assignment pool provides the IP address and configuration for a DHCP client.

By default, the server selects the address-assignment pool to use by matching the IP address in the client DHCP request with the network address of the address-assignment pool. If the client request contains the gateway IP address (giaddr), the local server matches the giaddr to the address-assignment pool’s address. If there is no giaddr in the request, then the DHCP local server matches the IP address of the receiving interface to the address of the address-assignment pool.

You can optionally configure the extended DHCP local server to match the DHCP relay agent information option (option 82) in the client DHCP packets to a named range in the address-assignment pool used for the client. Named ranges are subsets within the overall address-assignment pool address range, and are configured when you create the address-assignment pool.

Note: To use the DHCP local server option 82 matching feature, you must ensure that the option-82 statement is included in the dhcp-attributes statement for the address-assignment pool.

To configure the extended DHCP local server to match the DHCP relay agent information option (option 82) in the client DHCP packets to a named range in the address-assignment pool used for the client:

  1. Access the pool-match-order configuration.
    [edit system services dhcp-local-server]
    user@host# edit pool-match-order
  2. Specify the default pool matching method. You must configure the default method before configuring the optional Option 82 matching method.
    [edit system services dhcp-local-server pool-match-order]
    user@host# set ip-address-first
  3. Specify the Option 82 matching method.
    [edit system services dhcp-local-server pool-match-order]
    user@host# set option-82

Related Topics


[ Contents] [ Prev] [ Next] [ Index] [ Report an Error]