cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
509
Views
0
Helpful
2
Replies

How many instances of DHCP can you have on a 2960S switch?

David Bogdan
Level 1
Level 1

I need to create some reserve addresses for some Wireless Access points so out monitor (What's up Gold) can get to them even after a power outage.  The problem I am having is it appears that only one instance will work.  For example;  If I have the following instances running:

ip dhcp pool 104-2-AP28

host 10.232.19.219 255.255.255.0

hardware-address 4403.a740.b88e

default-router 10.232.19.253

domain-name luhs.org

dns-server 147.126.200.228 147.126.240.1

option 43 hex f108.937e.d77c.937e.d77d

option 60 ascii "Cisco AP c3602"

ip dhcp pool 104-2-AP29

host 10.232.19.11 255.255.255.0

hardware-address acf2.c56b.1ab8

default-router 10.232.19.253

domain-name luhs.org

dns-server 147.126.200.228 147.126.240.1

option 43 hex f108.937e.d77c.937e.d77d

option 60 ascii "Cisco AP c3602"

ip dhcp pool Wapmgt104

   network 10.232.19.0 255.255.255.0

   default-router 10.232.19.253

   domain-name lumc.edu

   dns-server 147.126.200.228 147.126.240.1

   option 43 hex f108.937e.d77c.937e.d77d

   option 60 ascii "Cisco AP c3602"

   netbios-name-server 147.126.142.243 147.126.166.244

   lease infinite

What should happen here is the APs with the correct hardware address will pull from the 1st and 2nd instance, and everything else will pull from the last one.  I get the one AP pulling an IP and nothing else happens.  If I delete the first instance (AP28).  The second instance works.  If I delete bot AP28 and AP29 instances, this last instance works. 

Anyone seen this behavior before?

2 Replies 2

cadet alain
VIP Alumni
VIP Alumni

Hi,

 I get the one AP pulling an IP and nothing else happens.  If I delete  the first instance (AP28).  The second instance works.  If I delete bot  AP28 and AP29 instances, this last instance works.  

What do you mean by that ? you mean the server is giving out the first IP to correct AP but the second and other APs don't get their IPs ?

Could you post the following outputs:

-sh ip dhcp conflict

-sh ip dhcp pool

-sh run | s dhcp

If my assumption is correct in addition to previous outputs can you provide following debug outputs:

debug ip dhcp server event

debug ip dhcp server packet

Regards

Alain

Don't forget to rate helpful posts.

Don't forget to rate helpful posts.

It is easy to assign a static IP to AP via WLC (I assume these AP managed by a WLC), then you do not want to worry about DHCP reservation.

HTH

Rasika

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card