hex prepend?

Mike A. Hale mhale at nvisionnet.com
Thu Feb 22 15:55:47 UTC 2007


We have looked at the DNS option. Unfortunately we can't use that since
we have multiple controllers at remote sites all using the same DNS. The
DNS option would have APs registering to controllers that aren't optimal
for their locations.

I did some more work on option 43 and noticed that the option is already
sent in the TLV format, which is obvious after reading the option man
page again. :) The problem I'm still having is that the format byte is
2b when I need it to be f1. (aka I'll send the server address as
AA:57:D0:0C and the value sent will be 2b:04:AA:57:D0:0C which is in the
TLV format)

Does anyone know what 2b stands for and how I can change that to f1?

Mike Hale
NVision Networking
email: mhale at nvisionnet.com
cell: 520.834.4969
UMC office: 520.694.6424
UMC pager: 8847

-----Original Message-----
From: dhcp-users-bounce at isc.org [mailto:dhcp-users-bounce at isc.org] On
Behalf Of Allie Hopkins
Sent: Wednesday, February 21, 2007 8:46 AM
To: dhcp-users at isc.org
Subject: Re: hex prepend?

I played around with this setting for our Cisco AP's for a short while.
I then discovered that they first look for the hostname
"cisco-lwapp-controller.your.domain" via DNS and then look for the DHCP
options if that name does not resolve.  We took this route since it was
getting tedious with option 43.  Have you looked into this option?

Allie

On Mon, 2007-02-19 at 16:41 -0700, Mike A. Hale wrote:
> I am trying to send option 43 to specific Access Points. I have setup
my
> dhcpd.conf as the following:
> 
> option space Cisco_LWAPP_AP;
> option Cisco_LWAPP_AP.server-address code 43 = string;
> 
> subnet 170.87.57.0 netmask 255.255.255.0 {
>   option broadcast-address 170.87.57.255;
>   option routers 170.87.57.1;
>   range dynamic-bootp 170.87.57.176 170.87.57.179; # testing
>   pool {
>     range 170.87.57.75 170.87.57.175;  # 101
>   }
>   min-lease-time 28800;
>   max-lease-time 28800;
>   default-lease-time 28800;
>   option dhcp-renewal-time 3600;
>   class "Cisco AP c1240" {
>     match if option vendor-class-identifier = "Cisco AP c1240";
>     option vendor-class-identifier "Cisco AP c1240";
>     vendor-option-space Cisco_LWAPP_AP;
>     option Cisco_LWAPP_AP.server-address f1:04:AA:57:D0:0C; }
> }
> 
> Option 43 is correctly sending however it has values prepended.
Instead
> of sending f1:04:AA:57:D0:0C it is sending
> 2b:08:2b:06:f1:04:aa:57:d0:0c. After some searching it looks like
these
> prepended values are somehow related to the length of the string. How
do
> I get it to send only the string I need?
> 
> -Mike 
> 



More information about the dhcp-users mailing list