Solved

How do I specify a dhcp range on a Cisco Aironet 1240ag access point?

Posted on 2006-11-29
8
3,459 Views
Last Modified: 2012-05-05
I have a cisco 1240ag access point which i have set up as a dhcp server for wireless clients. How do specify the dhcp range. It is giving out conflicting ip addresses from other APs.
0
Comment
Question by:masheen
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
  • 2
8 Comments
 
LVL 5

Expert Comment

by:WGhen
ID: 18037167
Only one device should hand out all the DHCP.
As long as you are trunking from the APs to switches you can do this.  What kind of switches do the APs connect to?  What type of router sdo you have?

We have a single (non-wireless) router handing out DHCP whether it's for wired or wireless devices on multiple AP's with multiple wired and wireless VLANs.  We have four different wireless VLANs running over the entire set of APs.

WGhen
0
 
LVL 1

Author Comment

by:masheen
ID: 18037446
Thank you for the quick reply, but the wireless infrastructure was here before me and is not going to change at this time. (though i agree with you but it is a project for a different day) I just have to replace our dlink AP 2200's (which act as dhcp servers) with a cisco AP1240ag. So my question is can and how in the cli do you create a dhcp range for clients?

 
0
 
LVL 5

Expert Comment

by:WGhen
ID: 18037538
OK,
The CLI of a router?  Obviously your AP's are already doing that.  Anyhow, here is an example config for a Cisco router...
! to turn on DHCP in a router if it is not already
service dhcp

! to config the DHCP pool
ip dhcp excluded-address 192.168.1.250 192.168.1.254
ip dhcp pool YourOffice_Pool
   network 192.168.1.0 255.255.255.0
   domain-name YourDomainNameHere
   dns-server 192.168.20.1 192.168.20.10
   default-router 192.168.1.254
   netbios-node-type h-node
   lease 15

You can look at what's going on with
 show ip dhcp binding
 show ip dhcp conflict


WGhen
0
Don't miss ATEN at NAB Show April 24-27!

Visit ATEN at NAB Show to learn how our "Seamlessly Entertaining" solutions deliver fast, precise video streaming without delays for the broadcasting and media environment. ATEN will showcase its 16x16 Modular Matrix Switch (VM1600) and KVM Over IP Solution (KE6900 series).

 
LVL 1

Author Comment

by:masheen
ID: 18037645
The command line interface of the Cisco AP (sorry if I was not clear) and where in your router statement do you specify the range of addresses?
0
 
LVL 10

Expert Comment

by:MATTHEW_L
ID: 18037971
The range of addresses is specified by the network command and mask.  So in this example

network 192.168.1.0 255.255.255.0

This means 192.168.1.1. to 192.168.1.254

The ip dhcp excluded-address 192.168.1.250 192.168.1.254 excludes those addresses from distribution.
0
 
LVL 1

Author Comment

by:masheen
ID: 18038070
Yeah I understand that but I can't use the whole subnet
0
 
LVL 10

Expert Comment

by:MATTHEW_L
ID: 18038188
Then use a different subnet mask.  Or use a larger excluded-address range.
0
 
LVL 5

Accepted Solution

by:
WGhen earned 500 total points
ID: 18038519
OK, how abot this...
This network and subnet mask will deliver the addresses 193 to 249, with 250 to 254 excluded for router gateway, and anything else that might need a static.  Exclude less if nothing else is needed.

! to config the DHCP pool
ip dhcp excluded-address 192.168.1.250 192.168.1.254
ip dhcp pool YourOffice_Pool
   network 192.168.1.192 255.255.255.192
   domain-name YourDomainNameHere
   dns-server 192.168.20.1 192.168.20.10
   default-router 192.168.1.254
   netbios-node-type h-node
   lease 15

You can look at what's going on with
 show ip dhcp binding
 show ip dhcp conflict


WGhen
0

Featured Post

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
OSPF - Convergence & Downtime 9 73
Distinguished username as email address 4 43
Port status messages not appearing in console 11 32
Network adapter failed to start 5 36
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
Most of the applications these days are on Cloud. Cloud is ubiquitous with many service providers in the market. Since it has many benefits such as cost reduction, software updates, remote access, disaster recovery and much more.
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

756 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question