[Dnsmasq-discuss] Debugging

Simon Kelley simon at thekelleys.org.uk
Wed Feb 12 13:29:40 GMT 2014


On 11/02/14 16:16, Brian Rak wrote:
> Sorry, should have mentioned that I already have that enabled.
>
> That gives me some extra info:
>
> Feb 11 11:14:07 x dnsmasq-dhcp[2278]: 3227716451 DHCPDISCOVER(eth0)
> 00:25:90:d6:ac:25 no address available
> Feb 11 11:14:08 x dnsmasq-dhcp[2278]: 467005255 available DHCP range:
> 10.x.10 -- 10.x.250
> Feb 11 11:14:08 x dnsmasq-dhcp[2278]: 467005255 available DHCP range:
> 10.y.10 -- 10.y.250
> Feb 11 11:14:08 x dnsmasq-dhcp[2278]: 467005255 available DHCP range:
> 10.z.10 -- 10.z.250
> Feb 11 11:14:08 x dnsmasq-dhcp[2278]: 467005255 vendor class: udhcp 1.12.0
>
> but doesn't appear to log the subscriber ID.  I can't tell if its
> supposed to be logged in that case either.
>

It isn't logged. Are you matching a subecribre-id to set a tag? The tags 
_are_ logged.

Simon.

> On 2/11/2014 10:50 AM, Simon Kelley wrote:
>> On 11/02/14 15:12, Brian Rak wrote:
>>> Is there any way to get additonal debugging information out of dnsmasq?
>>>   I'm running into an issue where I'm seeing 'DHCPDISCOVER(eth0) X Y no
>>> address available', but it's not particularly clear to me why this is
>>> happening. Is there a way to log the contents of the DISCOVER packet? I
>>> know I can use tcpdump, but that doesn't show me what dnsmasq actually
>>> thinks is in the packet.
>>>
>>> In my case, I should be seeing a subscriber-id in the packets. I see it
>>> in tcpdump, but I'm not clear if dnsmasq is actually parsing it.
>>>
>>>
>>
>> log-dhcp
>>
>>
>> will help.
>>
>>
>> Cheers,
>>
>> Simon.
>>
>>
>>
>> _____________________________________
>>> Dnsmasq-discuss mailing list
>>> Dnsmasq-discuss at lists.thekelleys.org.uk
>>> http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
>>>
>>
>>
>> _______________________________________________
>> Dnsmasq-discuss mailing list
>> Dnsmasq-discuss at lists.thekelleys.org.uk
>> http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
>
>
> _______________________________________________
> Dnsmasq-discuss mailing list
> Dnsmasq-discuss at lists.thekelleys.org.uk
> http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
>




More information about the Dnsmasq-discuss mailing list