[Dnsmasq-discuss] Option 66 Bug?
don at djmuller.com
Fri Mar 26 21:19:26 GMT 2010
Have you tried it without the double quotes?
From: dnsmasq-discuss-bounces at lists.thekelleys.org.uk
[mailto:dnsmasq-discuss-bounces at lists.thekelleys.org.uk] On Behalf Of Dayton
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:
> 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?
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>
> 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
>> dd-wrt router. Usually this all works great, I had been handing out DHCP
>> Option 66 as such up until now:
>> Well we recently had to change our IP block, to something that starts
>> 7. 184.108.40.206. When I update the dnsmasq config to read
>> The phones (I tried an Aastra phone, and a Citel phone) both only receive
>> '220.127.116.11' 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 18.104.22.168 ?
>> Dnsmasq-discuss mailing list
>> Dnsmasq-discuss at lists.thekelleys.org.uk
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Dnsmasq-discuss