When the SAE receives a DHCP discover request from the router, it uses the client’s MAC address to find a DHCP profile in cache or in the directory. If it finds a DHCP profile, the SAE uses the information in the profile to create a discover decision that it returns to the router. The discover decision includes information to select an IP address and DHCP options to configure the DHCP client.
When a DHCP subscriber logs in to the SAE through a Web portal, the SAE registers the subscriber’s equipment and creates a cached DHCP profile in the o=AuthCache directory. These profiles are keyed by the MAC address of the DHCP client device. They are created by the grantPublicIp or the registerEquipment methods.
DHCP profiles are stored in the o=AuthCache directory in the dhcpProfile object class. The dhcpProfile object class is subordinate to the cachedAuthenticationProfles object class. Manually created profiles are keyed by the cn (common name) attribute.
For more information about how the SAE handles DHCP subscribers, see:
Use the following configuration statements to create a DHCP profile:
- shared auth-cache cached-dhcp-profile name {
- description description;
- pool-name pool-name;
- ip-address ip-address;
- dhcp-options dhcp-options;
- boot-server-name boot-server-name;
- boot-file-name boot-file-name;
- virtual-router virtual-router;
- local-interface local-interface;
- lease-time lease-time;
- user-name user-name;
- service-bundle service-bundle;
- radius-class radius-class;
- }
To create a DHCP profile:
[edit shared auth-cache cached-dhcp-profile default] user@host# show description "This DHCP profile is used to select addresses from the \"default\" pool."; virtual-router *; local-interface *;