[Dnsmasq-discuss] disable Router does not work
jsteinel at web.de
Thu Aug 17 22:17:12 BST 2006
today I wanted to disable routing for a single host. That machine gets
its IP from dnsmasq.
In the dnsmasq.conf I added an entry to assign the host to a
network-group and set an option for this group that should disable the
Unfortunately this did not have the expected effect. The host got the IP
mentioned in dhcp-host but was still told where the (actual) router is.
I captured the dhcp-request/reply to make sure the Information came from
dnsmasq (and was not cached by the client). Dnsmasq *did* deliver the
To test if dhcp-option does anything at all I changed the above line to
After requesting a new IP the client got 18.104.22.168 as default gateway.
I think this behaviour is wrong (=ignore option if given IP is 0) and
even if it is intented it should be mentioned in the manual.
Is there a different way to set an option to a zero-value?
More information about the Dnsmasq-discuss