Creating a DHCP Server Policy

The DHCP server policy defines the parameters required to run a DHCP server on the wireless controller and assign IP addresses automatically to devices that associate. Configuring DHCP enables the reuse of a limited set of IP addresses.

To create a DHCP server policy, in the wireless controller‘s global configuration mode, execute the following command:

rfs4000-37FABE(config)#dhcp-server-policy <DHCP-SERVER-POLICY-NAME>
rfs4000(config)#dhcp-server-policy DHCP_POLICY_UseCase1
rfs4000(config-dhcp-policy-DHCP_POLICY_UseCase1)#

The following table displays how IP addresses are used.

Table: IP Address Usage

IP Range

Usage

172.16.11.1 till 172.16.11.10

Reserved for devices that require a static IP address

172.16.11.11 till 172.16.11.200

Range of IP addresses that can be assigned using the DHCP server.

172.16.11.201 till 172.16.11.254

Reserved for devices that require a static IP address

In the table, the IP address range of 172.16.11.11 to 172.16.11.200 is available using the DHCP server. To configure the DHCP server:

rfs4000(config-dhcp-policy-DHCP_POLICY_UseCase1)#dhcp-pool DHCP_POOL_USECASE1_01
rfs4000(config-dhcp-policy-DHCP_POLICY_UseCase1-pool-DHCP_POOL_USECASE1_01)#
  1. Configure the address range as follows:
    rfs4000(config-dhcp-policy-DHCP_POLICY_UseCase1-pool-DHCP_POOL_USECASE1_01)#address range 172.16.11.11 172.16.11.200
    rfs4000(config-dhcp-policy-DHCP_POLICY_UseCase1-pool-DHCP_POOL_USECASE1_01)#
  2. Configure the IP pool used with a network segment. This starts the DHCP server on the specified interface.
    rfs4000(config-dhcp-policy-DHCP_POLICY_UseCase1-pool-DHCP_POOL_USECASE1_01)#network 172.16.11.0/24
    rfs4000(config-dhcp-policy-DHCP_POLICY_UseCase1-pool-DHCP_POOL_USECASE1_01)#exit
    rfs4000(config-dhcp-policy-DHCP_POLICY_UseCase1)#exit
    rfs4000(config)#commit write
  3. Configure the RFS 4000 to use the DHCP Policy. For the DHCP to work, apply the policy to the wireless controller, as shown in the following example:
    rfs4000-37FABE(config)#self
    rfs4000-37FABE(config-device-03-14-28-57-14-28)#use dhcp-server-policy DHCP_POLICY_UseCase1
    rfs4000-37FABE(config-device-03-14-28-57-14-28)#commit write
    rfs4000-37FABE(config-device-03-14-28-57-14-28)#exit
    rfs4000-37FABE(config)#