Chapter
Administering the Wireless Device
To configure an access point to provide DHCP service and to specify a default router, follow these steps,
beginning in privileged EXEC mode.
SUMMARY STEPS
1.
2.
3.
4.
5.
6.
7.
8.
9.
DETAILED STEPS
Command
Step 1
configure terminal
Step 2
ip dhcp excluded-address low_address
[high_address]
Step 3
ip dhcp pool pool_name
Step 4
network subnet_number
[mask | prefix-length]
Step 5
lease {days [hours] [minutes] |
infinite}
Cisco 3900 Series, Cisco 2900 Series, and Cisco 1900 Series Integrated Services Routers Generation 2 Software Configuration Guide
configure terminal
ip dhcp excluded-address low_address [high_address]
ip dhcp pool pool_name
network subnet_number [mask | prefix-length]
lease {days [hours] [minutes] | infinite}
default-router address [address2 ... address 8]
end
show running-config
copy running-config startup-config
Purpose
Enters global configuration mode.
Excludes the wireless device IP address from the range of addresses that
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.
Creates a name for the pool of IP addresses that the wireless device
assigns in response to DHCP requests, and enters DHCP configuration
mode.
Assigns the subnet number for the address pool. The wireless device
assigns IP addresses within this subnet.
(Optional) Assigns a subnet mask for the address pool, or specifies the
number of bits that compose the address prefix. The prefix is an
alternative way of assigning the network mask. The prefix length must be
preceded by a forward slash (/).
Configures the duration of the lease for IP addresses assigned by the
wireless device.
days—configure the lease duration in number of days
•
(optional) hours—configure the lease duration in number of hours
•
(optional) minutes—configure the lease duration in number of
•
minutes
infinite—set the lease duration to infinite
•
Configuring the Access Point to Provide DHCP Service
333