[Dnsmasq-discuss] No DHCPOffer back but DHCPDiscover is being received by UML machine

Josh H joshuahawking1 at gmail.com
Thu Apr 16 15:40:06 BST 2020


> First, answer a simple question the answer to which I may have missed.
> Is dnsmasq logging the receipt of DHCPDISCOVER messages? Can we see the
> whole log showing that?


Based on the config I provided at the initial message, I have the log file
writing to /var/log/dnsmasq.log. This is the whole content of that file:

root at dns:~# cat /var/log/dnsmasq.log
Apr 16 15:36:50 dnsmasq[1695]: started, version 2.80 DNS disabled
Apr 16 15:36:50 dnsmasq[1695]: compile time options: IPv6 GNU-getopt DBus
i18n IDN DHCP DHCPv6 no-Lua TFTP conntrack ipset auth DNSSEC loop-detect
inotify dumpfile
Apr 16 15:36:50 dnsmasq-dhcp[1695]: DHCP, IP range 192.168.1.3 --
192.168.1.8, lease time 12h

No mention of the DHCPDiscover being acknowledged.

The next stage is to run dnsmasq under strace (check back here if you
> need instructions on that) and see what system calls it's making.


What command would I need to run for this? And what service is best to
upload the strace result, pastebin?

Thanks,
Josh

On Thu, 16 Apr 2020 at 12:49, Simon Kelley <simon at thekelleys.org.uk> wrote:

>
>
> On 15/04/2020 19:27, Josh H wrote:
>
> > It's difficult for me to share the config outright as I'm using a
> > modified version of netkit that I've updated to a much newer kernel
> > - http://netkit-ng.github.io/. The netkit version that is available on
> > that link is the one that worked with dnsmasq just fine, and that
> > version was 2.62 and kernel 3.2. However I've updated it and am running
> > 2.80 and kernel 5.6.
> >
> > Anything else I can provide you with that might help? It's a very unique
> > setup so I appreciate  it's probably not the easiest thing to try and
> > debug.
> >
>
> First, answer a simple question the answer to which I may have missed.
> Is dnsmasq logging the receipt of DHCPDISCOVER messages? Can we see the
> whole log showing that?
>
> The next stage is to run dnsmasq under strace (check back here if you
> need instructions on that) and see what system calls it's making.
>
>
> Simon.
>
>
> _______________________________________________
> 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/20200416/f4ad64d1/attachment.html>


More information about the Dnsmasq-discuss mailing list