[Dnsmasq-discuss] Option 66 Bug?

Don Muller don at djmuller.com
Fri Mar 26 21:19:26 GMT 2010


Have you tried it without the double quotes?

 

dhcp-option=66,69.90.91.195

 

Don

 

From: dnsmasq-discuss-bounces at lists.thekelleys.org.uk
[mailto:dnsmasq-discuss-bounces at lists.thekelleys.org.uk] On Behalf Of Dayton
Turner
Sent: Friday, March 26, 2010 4:55 PM
To: richardvoigt at gmail.com
Cc: dnsmasq-discuss at lists.thekelleys.org.uk
Subject: Re: [Dnsmasq-discuss] Option 66 Bug?

 

I've tried doing that already (wireshark)

Because its a phone making the request, I am not able to tcpdump on the
phone, of course, and because the router has such little space, I am not
able to get tcpdump on  to it.

I did do a tcpdump while doing a dhcp request from my mac, and I do not see
the option 66 packet in the response at all.  I'm not familiar enough with
DHCP to know if there are conditions in which Option 66 is sent or not sent
(does the DHCP requesting device have to ask the DHCP server for it?)


On 3/26/10 1:50 PM, "richardvoigt at gmail.com" <richardvoigt at gmail.com> wrote:

On Fri, Mar 26, 2010 at 2:53 PM, Dayton Turner <dayton at voxter.ca> wrote:
> Richard,
>
> I tried setting the option 66 value to the IP that you suggested, and got
> the same results.  First "7" is stripped..  Interesting, I don't know if
> this presents anything of interest to you, but if I set the value to begin
> with "774." it strips both 7's. Almost like its looking for the option to
> start with a 7 and removing any of them?
>
> Dayton

Well that seems like it's not a length issue.  Of course, 774 isn't a
valid octet at all, I'm surprised that it would even parse.  But maybe
it doesn't get parsed if that option is sent as a string rather than
an IP address.

Can you use wireshark to capture the packet dnsmasq sends?  That's
similar to DHCP logging, better in some ways and not in others.


>
>
> On 3/26/10 6:16 AM, "richardvoigt at gmail.com" <richardvoigt at gmail.com>
wrote:
>
> On Fri, Mar 26, 2010 at 1:35 AM, Dayton Turner <dayton at voxter.ca> wrote:
>> Hi List,
>>
>> I have some VoIP phones here that get their DHCP from dnsmasq running on
a
>> dd-wrt router.  Usually this all works great, I had been handing out DHCP
>> Option 66 as such up until now:
>>
>> dhcp-option=66,"69.90.91.195"
>>
>> Well we recently had to change our IP block, to something that starts
with
>> a
>> 7.  74.141.209.195. When I update the dnsmasq config to read
>>
>> dhcp-option=66,"74.141.209.195"
>>
>> The phones (I tried an Aastra phone, and a Citel phone) both only receive
>> '4.141.209.195' trimming the leading 7 off.
>>
>> Any ideas?
>
> I note that your new configuration is also longer as measured by
> strlen.  Perhaps this is related?  i.e. what would happen if the IP
> address were changed to 74.141.209.5 ?
>
>>
>> Dayton
>>
>> _______________________________________________
>> Dnsmasq-discuss mailing list
>> Dnsmasq-discuss at lists.thekelleys.org.uk
>> http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
>>
>>
>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/attachments/20100326/ad480b79/attachment.htm 


More information about the Dnsmasq-discuss mailing list