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

krzysztof.kozlowski at kozik.net.pl krzysztof.kozlowski at kozik.net.pl
Thu Nov 22 09:20:39 GMT 2007


I have tested 2.41test18 - problem with DHCPREQUEST/DHCPNAK has gone. Problem with client receiving address from "restricted" range (range for matching net) when he asks for it still exists.

And 241test18 (or earlier test versions) introduced new bug - not giving default gateway (option router). Logs:
---------------------
DHCP packet: transaction-id is 957104258
Available DHCP range: 192.168.2.1 -- 192.168.2.250
Available DHCP range: 192.168.1.10 -- 192.168.1.99
Vendor class: dhcpcd 3.1.5
DHCPREQUEST(eth1) 192.168.1.2 00:08:a1:95:7b:1e
DHCPACK(eth1) 192.168.1.2 00:08:a1:95:7b:1e frugo
requested options: 58:T1, 59:T2, 1:netmask, 28:broadcast, 121:classless-static-route,
requested options: 33:static-route, 3:router, 12:hostname, 119:domain-search,
requested options: 15:domain-name, 6:dns-server, 40:nis-domain,
requested options: 41:nis-server, 42:ntp-server, 26:mtu, 17:root-path,
requested options: 120:sip-server
tags: untrusted, trusted, known
sent size:  1 option: 53:message-type  05
sent size:  4 option: 54:server-identifier  c0:a8:01:01
sent size:  4 option: 51:lease-time  00:00:1c:20
sent size:  4 option: 58:T1  00:00:0c:bc
sent size:  4 option: 59:T2  00:00:17:48
sent size:  4 option:  1:netmask  ff:ff:00:00
sent size:  4 option: 28:broadcast  c0:a8:ff:ff
sent size:  4 option: 15:domain-name  6c:61:62:6f
sent size:  5 option: 12:hostname  66:72:75:67:6f
sent size:  4 option: 42:ntp-server  c0:a8:01:01
---------------------
It is missing something like:
   sent size:  4 option:  3:router  c0:a8:01:01

Configuration file for 2.41test18 was the same as 2.40. In my configuration I do not change router for "#known", "known", "trusted", "untrusted". I have only:
   dhcp-option=net:bauer,option:router
but that client did not match this rule.






More information about the Dnsmasq-discuss mailing list