Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation

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

You can specify the match order in which the extended DHCP local server uses the client data to determine the address-assignment pool that provides the IP address and configuration for a DHCP client. You use the pool-match-order statement to specify the match order. If you do not specify the pool-match-order, the router (or switch) uses the default ip-address-first matching to select the address pool. After DHCP local server determines the address assignment pool to use, the server performs the matching based on the criteria you specified in the pool configuration.

In the default ip-address-first matching, 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.

In external-authority matching, the DHCP local server receives the address assignment from an external authority, such as RADIUS or Diameter. If RADIUS is the external authority, the DHCP local server uses the Framed-IPv6-Pool attribute (RADIUS attribute 100) to select the pool. If Diameter is the external authority, the server uses the Diameter counterpart of the Framed-IPv6-Pool attribute to determine the pool.

For IPv4 address-assignment pools, 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, which you can configure when you create the address-assignment pool.

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

To configure the matching order the extended DHCP local server uses to determine the address-assignment pool used for a client:

  1. Access the pool-match-order configuration.
    [edit system services dhcp-local-server]user@host# edit pool-match-order
  2. Specify the pool matching methods in the order in which the router (switch) performs the methods. You can specify the methods in any order. All methods are optional—the router (switch) uses the ip-address-first method by default.
    • Configure the router (switch) to use an external addressing authority.
      [edit system services dhcp-local-server pool-match-order]user@host# set external-authority
    • Configure the router (switch) to use the ip-address-first method.
      [edit system services dhcp-local-server pool-match-order]user@host# set ip-address-first
    • (IPv4 address-assignment pools only) Specify the option 82 matching method.
      [edit system services dhcp-local-server pool-match-order]user@host# set option-82

Published: 2013-04-01