Closed dismantl closed 9 years ago
Quick note, I'm not sure whether or not setting the ignore
option will disable the DHCP relaying or not, so if it doesn't work at first, try resetting the ignore option.
Another note, it might be worth upstreaming the compile flag patch, since that restores several CLI options that are otherwise unnecessarily stripped by the compiler.
To test, first run
dnsmasq --help
on the node and make sure thedhcp-relay
option is present.Then add the following line to the
dnsmasq
section of /etc/config/dhcp:option dhcp_relay '0.0.0.0,1.2.3.4'
where1.2.3.4
is the IP address of a reachable server running a DHCP daemon.Next, set
ignore "0"
toignore "1"
in thedhcp
section of the same config. Restart dnsmasq and ensure that connecting clients get a DHCP lease from the server and not the node.