[Dnsmasq-discuss] Dnsmasq ignoring "network matching tag" for range - bug?

richardvoigt at gmail.com richardvoigt at gmail.com
Wed Nov 21 14:47:09 GMT 2007


On Nov 20, 2007 1:27 PM, Krzysztof Kozłowski
<krzysztof.kozlowski at kozik.net.pl> wrote:
> Simon Kelley wrote:
> > Please could you try
> >
> > http://www.thekelleys.org.uk/dnsmasq/test-releases/dnsmasq-2.41test16.tar.gz
> >
> >
> > and see if it fixes the problem?
> It produced other problem.
>
> The client (Windows XP) has a user tag "trusted" (so it should receive 192.168.1.X address). When he connects:
> --------------------------
> Nov 20 20:18:44 cisco dnsmasq[15295]: Available DHCP range: 192.168.2.1 -- 192.168.2.250
> Nov 20 20:18:44 cisco dnsmasq[15295]: Available DHCP range: 192.168.1.10 -- 192.168.1.99
> Nov 20 20:18:44 cisco dnsmasq[15295]: Vendor class: MSFT 5.0
> Nov 20 20:18:44 cisco dnsmasq[15295]: User class: trusted
> Nov 20 20:18:44 cisco dnsmasq[15295]: DHCPDISCOVER(eth1) 00:1c:f0:5b:71:6a
> Nov 20 20:18:44 cisco dnsmasq[15295]: DHCPOFFER(eth1) 192.168.1.34 00:1c:f0:5b:71:6a
> --------------------------
> Nov 20 20:18:44 cisco dnsmasq[15295]: User class: trusted
> Nov 20 20:18:44 cisco dnsmasq[15295]: DHCPREQUEST(eth1) 192.168.1.34 00:1c:f0:5b:71:6a
> Nov 20 20:18:44 cisco dnsmasq[15295]: DHCPNAK(eth1) 192.168.1.34 00:1c:f0:5b:71:6a address not available
> Nov 20 20:18:44 cisco dnsmasq[15295]: tags: trusted
> --------------------------
> Nov 20 20:18:45 cisco dnsmasq[15295]: DHCPDISCOVER(eth1) 00:1c:f0:5b:71:6a
> Nov 20 20:18:45 cisco dnsmasq[15295]: DHCPOFFER(eth1) 192.168.1.34 00:1c:f0:5b:71:6a
> --------------------------
> Nov 20 20:18:45 cisco dnsmasq[15295]: DHCPREQUEST(eth1) 192.168.1.34 00:1c:f0:5b:71:6a
> Nov 20 20:18:45 cisco dnsmasq[15295]: DHCPNAK(eth1) 192.168.1.34 00:1c:f0:5b:71:6a address not available
>

Looks like "tags: trusted" only appears on some of the requests for
which "User class: trusted" is set?


> ...
> ...
> and so on.
>
> The address 192.168.1.34 is free (checked also with ping and arping). MAC "00:1c:f0:5b:71:6a" does not have a static IP. When this client connects without user-tag it receives correct address 192.168.2.XXX ("untrusted").
>
>
>
> --
> Krzysztof Kozłowski
> http://www.kozik.net.pl
>
>
>
>
> _______________________________________________
> 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