cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
4304
Views
0
Helpful
10
Replies

Multiple AP Models in dhcpd.conf file

Matt Smeltzer
Level 1
Level 1

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

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 ***

View solution in original post

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 ***

View solution in original post

10 Replies 10

Scott Fella
Hall of Fame
Hall of Fame

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 ***

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

Matt Smeltzer
Level 1
Level 1

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

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 ***

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 ***

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

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 ***

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 ***

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

No problem.

Sent from Cisco Technical Support iPhone App

-Scott
*** Please rate helpful posts ***
Review Cisco Networking for a $25 gift card