04-19-2013 10:38 AM - edited 07-03-2021 11:56 PM
I have Cisco 1040 model ap's and now Cisco 1600 ap models that I have up add an LWAPP entry to the dhcpd.conf file to allow the AP's to boot to the controller.
Exisiting:
option space LWAPP;
option LWAPP.controller code 241 = array of ip-address;
class "LWAPP" {
match option vendor-class-identifier;
}
subclass "LWAPP" "Cisco AP c1040" {
vendor-option-space LWAPP;
option LWAPP.controller IP.of.controller;
}
With another model added:
option space LWAPP;
option LWAPP.controller code 241 = array of ip-address;
class "LWAPP" {
match option vendor-class-identifier;
}
subclass "LWAPP" "Cisco AP c1040" {
vendor-option-space LWAPP;
option LWAPP.controller IP.of.controller;
}
subclass "LWAPP" "Cisco AP c1600" {
vendor-option-space LWAPP;
option LWAPP.controller IP.of.controller;
}
Just wondering if this is the configuration or do I need to double all the confirutation, with each subclass going with it's own option space / class paragraph.
Thanks in advance.
Matt
Solved! Go to Solution.
04-19-2013 02:58 PM
Here is the thing.... if you have one WLC, forget using option 43 and use DNS. Create a record that will resolve cisco-capwap-controller.
Thanks,
Scott
Help out other by using the rating system and marking answered questions as "Answered"
04-19-2013 03:34 PM
Looks like option 43 is already defined on your script.
https://supportforums.cisco.com/message/1272318#1272318
Sent from Cisco Technical Support iPhone App
04-19-2013 12:02 PM
If you have one WLC, you don't need option 60 as that is optional. Only use it if you want certain model AP's to connect to a certain WLC.
Thanks,
Scott
Help out other by using the rating system and marking answered questions as "Answered"
11-13-2015 06:00 AM
Hello,
We have multiple WLC for different customers but we are using a central DHCP server under ISC DHCPD.
I tried this configuration:
option space LWAPP;
option LWAPP.controller code 241 = array of ip-address;
class "LWAPP" {
match option vendor-class-identifier;
}
subnet x.x.x.0 netmask 255.255.255.192 {
authoritative;
option routers x.x.x.1;
option subnet-mask 255.255.255.192;
default-lease-time 600;
option domain-name "scrl.local";
option domain-name-servers x.x.x.x, x.x.x.x;
range dynamic-bootp x.x.x.10 x.x.x.30;
max-lease-time 7200;
subclass "LWAPP" "Cisco AP c3700" {
vendor-option-space LWAPP;
option LWAPP.controller x.x.x.44;
}
subclass "LWAPP" "Cisco AP c2700" {
vendor-option-space LWAPP;
option LWAPP.controller x.x.x.44;
}
}
subnet y.y.y.0 netmask 255.255.255.192 {
authoritative;
option routers y.y.y.1;
option subnet-mask 255.255.255.192;
default-lease-time 600;
option domain-name "scrl.local";
option domain-name-servers x.x.x.x, x.x.x.x;
range dynamic-bootp y.y.y.10 y.y.y.30;
max-lease-time 7200;
subclass "LWAPP" "Cisco AP c3700" {
vendor-option-space LWAPP;
option LWAPP.controller y.y.y.50;
}
subclass "LWAPP" "Cisco AP c2700" {
vendor-option-space LWAPP;
option LWAPP.controller y.y.y.50;
}
}
The Access point receives well the right IP addres from the pool but the IP address of the controller is "y.y.y.50" instead of "x.x.x.44"...
Do you have an idea? If I put "x.x.x.44" in the other pool I get the right IP for the controller... it's strange.
Version of the ISC DHCPD: Internet Systems Consortium DHCP Server 4.3.1
Thks.
Regards,
Lionel
04-19-2013 12:13 PM
Thanks Scott
Any suggestion what syntax I would use to have all ap's that boot go to one particular controller?
Thanks
Matt
Sent from Cisco Technical Support iPhone App
04-19-2013 12:17 PM
I don't know the syntax, but you need to only use option 43.
Sent from Cisco Technical Support iPhone App
04-19-2013 02:58 PM
Here is the thing.... if you have one WLC, forget using option 43 and use DNS. Create a record that will resolve cisco-capwap-controller.
Thanks,
Scott
Help out other by using the rating system and marking answered questions as "Answered"
04-19-2013 03:26 PM
Thanks Scott in some sites we have 155 sites that report back to the master controller and the server entry we do use some sites just use a simple DNs server that is Linux will have to figure out option 43! Lol
Thanks for all your help Scott
M
Sent from Cisco Technical Support iPhone App
04-19-2013 03:31 PM
Yeah I was stuck on an install where the customers guy who management their Linux dhcp and DNS retired. Well dhcp was a pain and we ended up figuring out how to setup the DNS.
Sent from Cisco Technical Support iPhone App
04-19-2013 03:34 PM
Looks like option 43 is already defined on your script.
https://supportforums.cisco.com/message/1272318#1272318
Sent from Cisco Technical Support iPhone App
04-19-2013 03:37 PM
Bingo I see what I need here with one of the bottom lwapp line, this is exactly what I am looking for! Thanks so much for that!
Sent from Cisco Technical Support iPhone App
04-19-2013 03:45 PM
No problem.
Sent from Cisco Technical Support iPhone App
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: