Manual

5-25
Cisco IOS Software Configuration Guide for Cisco Aironet Access Points
OL-30644-01
Chapter 5 Administering the Access Point
Configuring the Access Point to Provide DHCP Service
Configuring the Access Point to Provide DHCP Service
These sections describe how to configure the wireless device to act as a DHCP server:
Setting up the DHCP Server, page 5-25
Monitoring and Maintaining the DHCP Server Access Point, page 5-26
Setting up the DHCP Server
By default, access points are configured to receive IP settings from a DHCP server on your network. You
can also configure an access point to act as a DHCP server to assign IP settings to devices on both your
wired and wireless LANs.
Note When you configure the access point as a DHCP server, it assigns IP addresses to devices on its subnet.
The devices communicate with other devices on the subnet but not beyond it. If data needs to be passed
beyond the subnet, you must assign a default router. The IP address of the default router should be on
the same subnet as the access point configured as the DHCP server.
For detailed information on DHCP-related commands and options, refer to the Configuring DHCP
chapter in the Cisco IOS IP Configuration Guide, Release 12.3. Click this URL to browse to the
“Configuring DHCP” chapter:
http://www.cisco.com/univercd/cc/td/doc/product/software/ios122/122cgcr/fipr_c/ipcprt1/1cfdhcp.htm
Beginning in privileged EXEC mode, follow these steps to configure an access point to provide DHCP
service and specify a default router:
Command Purpose
Step 1
configure terminal Enter global configuration mode.
Step 2
ip dhcp excluded-address low_address
[ high_address ]
Exclude the wireless device IP address from the range of addresses the
wireless device assigns. Enter the IP address in four groups of characters,
such as 10.91.6.158.
the wireless device assumes that all IP addresses in a DHCP address pool
subnet are available for assigning to DHCP clients. You must specify the
IP addresses that the DHCP Server should not assign to clients.
(Optional) To enter a range of excluded addresses, enter the address at the
low end of the range followed by the address at the high end of the range.
Step 3
ip dhcp pool pool_name Create a name for the pool of IP addresses that the wireless device assigns
in response to DHCP requests, and enter DHCP configuration mode.
Step 4
network subnet_number
[ mask | prefix-length ]
Assign the subnet number for the address pool. The wireless device
assigns IP addresses within this subnet.
(Optional) Assign a subnet mask for the address pool, or specify the
number of bits that comprise the address prefix. The prefix is an
alternative way of assigning the network mask. The prefix length must be
preceded by a forward slash (/).