>
>
> Tell more about the set up  in use.
> My hope is that it provides some clue why `tcpdump` can see DHCP network
> traffic that `dnsmasq` should seen also.


I'm running a very odd environment in that I'm using 2 usermodelinux
virtual machines connected via a virtual hub. I've got such a simple setup
because originally I had a much larger configuration and wanted to test it
wasn't something messed up in routing and such.

Just wanted to add that dnsmasq 2.62 with a much older Linux kernel (3.2
from memory?) worked on this sort of setup perfectly fine, so it seems
thats either the kernel update or a newer version of dnsmasq has broken
something along the way.

Thanks,
Josh

P.s never used a mailing list before so apologies for the wrong formatting!


On Tue, 14 Apr 2020 at 20:19, Geert Stappers <stapp...@stappers.nl> wrote:

> On Tue, Apr 14, 2020 at 06:51:25PM +0100, Josh H wrote:
> > Hi there,
> >
> > I'm receiving no DHCPOffer back from my DHCPDiscover. However, I can
> > tcpdump the machine running dnsmasq and it is receiving the DHCPOffer
> > packets.
>
> Acknowledge
>
>
> > Here's my very very simple dnsmasq.conf
> > # To disable dnsmasq's DNS server functionality.
> > port=0
> >
> > # To enable dnsmasq's DHCP server functionality.
> > dhcp-range=192.168.1.3,192.168.1.8,255.255.255.240,12h
> >
> > # Set gateway as Router. Following two lines are identical.
> > #dhcp-option=option:router,192.168.0.1
> > dhcp-option=3,192.168.0.1
> >
> > # Set DNS server as Router.
> > dhcp-option=6,192.168.0.1
> >
> > # Logging.
> > log-facility=/var/log/dnsmasq.log   # logfile path.
> > log-async
> > log-queries # log queries.
> > log-dhcp    # log dhcp related messages.
>
> Acknowledge on `log DHCP`
>
>
> >
> > Here's the contents of /var/log/dnsmasq.log after running dhclient on a
> > machine connected to the subnet:
> > Apr 14 18:36:57 dnsmasq[1702]: started, version 2.80 DNS disabled
> > Apr 14 18:36:57 dnsmasq[1702]: compile time options: IPv6 GNU-getopt
> DBus i18n IDN DHCP DHCPv6 no-Lua TFTP conntrack ipset auth DNSSEC
> loop-detect inotify dumpfile
> > Apr 14 18:36:57 dnsmasq-dhcp[1702]: DHCP, IP range 192.168.1.3 --
> 192.168.1.8, lease time 12h
>
> Missing DHCP related entries ...
>
>
> > I can see the service running with netstat -anp4:
> > Active Internet connections (servers and established)
> > Proto Recv-Q Send-Q Local Address    Foreign Address   State PID/Program
> name
> > udp        0      0 0.0.0.0:67       0.0.0.0:*         1702/dnsmasq
> > udp        0      0 0.0.0.0:1701     0.0.0.0:*         1607/xl2tpd
> >
> > There are no firewalls setup anywhere on my network for the moment. I
> have
> > been able to get isc-dhcp-server to successfully allocate DHCP requests
> > just fine however, so I don't think it's anything broken with DHCP in
> > general. I'm running Linux kernel 5.6.2 and using dnsmasq from Debian
> > Bullseye.
> >
> > Hopefully someone can work out my issue!
>
> You already have met the best someone   ;-)
>
> Tell more about the set up  in use.
>
> My hope is that it provides some clue why `tcpdump` can see DHCP network
> traffic that `dnsmasq` should seen also.
>
>
> > Thank you very much!
>
> Thank you for reporting in an interresting problem.
>
>
>
> Regards
> Geert Stappers
> --
> Silence is hard to parse
>
> _______________________________________________
> Dnsmasq-discuss mailing list
> Dnsmasq-discuss@lists.thekelleys.org.uk
> http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
>
_______________________________________________
Dnsmasq-discuss mailing list
Dnsmasq-discuss@lists.thekelleys.org.uk
http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss

Reply via email to