cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements
1533
Views
0
Helpful
10
Replies
Highlighted
Beginner

Multiple AP Models in dhcpd.conf file

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

2 ACCEPTED SOLUTIONS

Accepted Solutions
Hall of Fame Master

Multiple AP Models in dhcpd.conf file

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..com to the WLC management ip address.

Thanks,

Scott

Help out other by using the rating system and marking answered questions as "Answered"

-Scott
*** Please rate helpful posts ***
Hall of Fame Master

Re: Multiple AP Models in dhcpd.conf file

Looks like option 43 is already defined on your script.

https://supportforums.cisco.com/message/1272318#1272318

Sent from Cisco Technical Support iPhone App

-Scott
*** Please rate helpful posts ***
10 REPLIES 10
Hall of Fame Master

Multiple AP Models in dhcpd.conf file

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"

-Scott
*** Please rate helpful posts ***
Beginner

Hello,

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

Beginner

Re: Multiple AP Models in dhcpd.conf file

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

Hall of Fame Master

Re: Multiple AP Models in dhcpd.conf file

I don't know the syntax, but you need to only use option 43.

Sent from Cisco Technical Support iPhone App

-Scott
*** Please rate helpful posts ***
Hall of Fame Master

Multiple AP Models in dhcpd.conf file

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..com to the WLC management ip address.

Thanks,

Scott

Help out other by using the rating system and marking answered questions as "Answered"

-Scott
*** Please rate helpful posts ***
Beginner

Re: Multiple AP Models in dhcpd.conf file

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

Hall of Fame Master

Re: Multiple AP Models in dhcpd.conf file

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

-Scott
*** Please rate helpful posts ***
Hall of Fame Master

Re: Multiple AP Models in dhcpd.conf file

Looks like option 43 is already defined on your script.

https://supportforums.cisco.com/message/1272318#1272318

Sent from Cisco Technical Support iPhone App

-Scott
*** Please rate helpful posts ***
Beginner

Re: Multiple AP Models in dhcpd.conf file

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

Hall of Fame Master

Re: Multiple AP Models in dhcpd.conf file

No problem.

Sent from Cisco Technical Support iPhone App

-Scott
*** Please rate helpful posts ***
CreatePlease to create content
Content for Community-Ad
August's Community Spotlight Awards