[c-nsp] LWAPP controller via ISC DHCP
Phil Mayers
p.mayers at imperial.ac.uk
Wed Jul 12 17:24:48 EDT 2006
A.L.M.Buxey at lboro.ac.uk wrote:
> option controller code 43 = text;
> option controller "10.1.0.10,10.1.0.11,10.1.0.12";
>
> however, the newer APs are using the newer vendor-specified options...which,
> in itself has had a few churns between ISC v2 and ISC v3.
>
> what I've currently got, in Cisco DHCP form is
>
> option 60 ascii "Cisco AP c1130"
>
> option 43 hex f10C0a01000a0a01000b0a01000c
>
> where
>
> f1 is always f1 (its the type),
> 0C is the number of controller management IP addresses times 4 in hex (the 'length')
> f10C0a01000a0a01000b0a01000c are the 3 IP address in hex
>
>
> now, I believe this is pretty much it - but I was wondering if there were any ISC DHCP
> users out there that could help redux this into ISC DHCPD v3 language...
"man dhcp-options" covers this and more. Well worth a read - lots of
hidden gems.
Try:
option cisco-lwapp-junk code 43 = { integer 8, array of ip-address };
# 241 = 0xf1
option cisco-lwapp-junk 241 10.0.0.1, 10.0.0.2;
It's been a while since I tried it, but if I recall this does it as
well, but cleaner:
option space cisco-junk;
option cisco-junk.lwapp-controllers code 241 = array of ip-address;
option cisco-junk-encap code 43 = encapsulate cisco-junk;
option cisco-junk.lwapp-controllers = 10.0.0.1, 10.0.0.2;
Anyway, see the man page for more info. "man dhcp-eval" is worth looking
at as well.
More information about the cisco-nsp
mailing list