[Dnsmasq-discuss] No DHCPOffer back but DHCPDiscover is being received by UML machine
Simon Kelley
simon at thekelleys.org.uk
Sat Apr 18 17:12:47 BST 2020
On 16/04/2020 15:40, Josh H wrote:
>
> 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?
sudo strace -o /tmp/logfile /usr/bin/dnsmasq -d
Probably best to email the result to me direct.
Cheers,
Simon.
>
> Thanks,
> Josh
>
> On Thu, 16 Apr 2020 at 12:49, Simon Kelley <simon at thekelleys.org.uk
> <mailto: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
> <mailto:Dnsmasq-discuss at lists.thekelleys.org.uk>
> http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
>
More information about the Dnsmasq-discuss
mailing list