Configuring an IP DHCP Pool for WiFi Clients

Cisco 1000 Series Connected Grid routers using the Cisco IOS operating system support the creation of an IP DHCP Pool for WiFi Clients. The routers can use the Dynamic Host Configuration Protocol (DHCP) to enable automatic assignment of IP configurations for WiFi Clients.

The IP DHCP-pool assigned to the WiFi clients must be a separate network or subnet that is not used by any another interface on the Connected Grid Router.

You only need to configure an IP DHCP pool for Cisco IOS routers when the WiFi interface is configured as an access point.

The WiFi interface provides support for up to five 802.11 b/g/n devices.

.Cisco 1000 Series Connected Grid router WiFi supports IPV4 for routed interfaces.

This chapter includes the following sections:

blank.gifConfiguring an IP DHCP Pool for WiFi Clients

blank.gifHow to Configure an IP DHCP Pool for WiFi Clients

blank.gifConfiguration Examples for Configuring an IP DHCP Pool for WiFi Clients

blank.gifFeature History

Configuring an IP DHCP Pool for WiFi Clients

blank.gifDHCP

DHCP

DHCP, which is described in RFC 2131, uses a client/server model for address allocation. As an administrator, you can configure your Cisco 1000 series CG router to act as a DHCP server, providing IP address assignment and other TCP/IP-oriented configuration information to your workstations. DHCP frees you from having to manually assign an IP address to each client.

When you configure a DHCP server, you must configure the server properties, policies, and DHCP options.

Note: Whenever you change server properties, you must reload the server with the configuration data from the Network Registrar database.

How to Configure an IP DHCP Pool for WiFi Clients

blank.gifConfiguring IP DHCP

Configuring IP DHCP

Perform these steps to configure your router for DHCP operation, beginning in global configuration mode:

BEFORE YOU BEGIN

Note: The IP DHCP-pool assigned to the WiFi clients must be a separate network or subnet that is not used by any another interface on the Connected Grid Router.

DETAILED STEPS

Step
Command
Purpose

1.blank.gif

ip domain name name

Identifies the default domain that the router uses to complete unqualified hostnames (names without a dotted-decimal domain name).

2.blank.gif

ip name-server server-address1 [server-address2...server-address6]

Specifies the address of one or more Domain Name System (DNS) servers to use for name and address resolution.

3.blank.gif

server dhcp

Enables the Cisco IOS DHCP server and relay features on your router. Use the no form of this command to disable the Cisco IOS DHCP server and relay features.

4.blank.gif

ip dhcp excluded-address low-address [high-address]

Specifies IP addresses that the DHCP server should not assign to DHCP clients. In this example, we are excluding the router address.

5.blank.gif

ip dhcp pool name

Creates a DHCP address pool on the router and enters DHCP pool configuration mode. The name argument can be a string or an integer.

6.blank.gif

network network-number [mask | prefix-length]

Defines subnet number (IP) address for the DHCP address pool, optionally including the mask.

7.blank.gif

default-router address [address2...address8]

Specifies up to eight default routers for a DHCP client.

8.blank.gif

dns-server address [address2...address8]

Specifies up to eight DNS servers available to a DHCP client.

9.blank.gif

domain-name domain

Specifies the domain name for a DHCP client.

10.blank.gif

exit

Exits DHCP configuration mode and enters global configuration mode.

EXAMPLE

Router(config)# ip domain name smallbiz.com
Router(config)# ip name-server 192.168.11.12
Router(config)# server dhcp
Router(config)# ip dhcp excluded-address 192.168.9.0
Router(config)# ip dhcp pool dpool1
Router(config-dhcp)# network 10.10.0.0 255.255.255.0
Router(config-dhcp)# default-router 10.10.10.10
Router(config-dhcp)# dns-server 192.168.35.2
Router(config-dhcp)# domain-name cisco.com
Router(config-dhcp)# exit

Configuration Examples for Configuring an IP DHCP Pool for WiFi Clients

blank.gifExample: Displaying the IP DHCP Pool Configuration

Example: Displaying the IP DHCP Pool Configuration

Use the following commands to display the DHCP configuration.

blank.gif show ip dhcp import —Displays the optional parameters imported into the DHCP server database.

blank.gif show ip dhcp pool —Displays information about the DHCP address pools.

blank.gif show ip dhcp server statistics —Displays the DHCP server statistics, such as the number of address pools, bindings, and so forth.

Examples of each command are shown here:

Router# show ip dhcp import
Address Pool Name: dpool1
 
Router# show ip dhcp pool
Pool dpool1 :
Utilization mark (high/low) : 100 / 0
Subnet size (first/next) : 0 / 0
Total addresses : 254
Leased addresses : 0
Pending event : none
1 subnet is currently in the pool :
Current index IP address range Leased addresses
10.10.0.1 10.10.0.1 - 10.10.0.254 0
 
Router# show ip dhcp server statistics
Memory usage 15419
Address pools 1
Database agents 0
Automatic bindings 0
Manual bindings 0
Expired bindings 0
Malformed messages 0
Secure arp entries 0
 
Message Received
BOOTREQUEST 0
DHCPDISCOVER 0
DHCPREQUEST 0
DHCPDECLINE 0
DHCPRELEASE 0
DHCPINFORM 0
 
Message Sent
BOOTREPLY 0
DHCPOFFER 0
DHCPACK 0
DHCPNAK 0
Router#
 

Feature History

 

Table 1 Feature History for Configuring an IP DHCP Pool for WiFi Clients

Feature Name
Release
Feature Information

Universal Client Mode (WiFi Client Mode)

---

Removed all references to the UCM feature and associated commands. Feature is not supported by CGR1000.

Support for Cisco IOS

Cisco IOS Release 15.4(1)CG

Support for the Cisco IOS DHCP on Cisco 1000 Series Connected Grid routers