[Dnsmasq-discuss] DHCP with no default route and no DNS

Jim Faulkner jfaulkne@ccs.neu.edu
Wed, 4 May 2005 16:20:08 -0400 (EDT)


On Tue, 3 May 2005, Simon Kelley wrote:

> The two dhcp-option lines are wrong, they are interpreted by dnsmasq as
> "return a single zero byte of data in reply to a request for option 3 or
> 6". Since the client is expecting  a four-byte IP address as an answer
> for option 3, it looks like it is getting confused, that probably
> explains the strange netmask effects.
>
> If instead, you do
>
> dhcp-option=wireless-net,3
> dhcp-option=wireless-net,6
>
> then you will inhibit sending the gateway and DNS server option
> completely, which is what you want. You should not need to explicitly
> set the netmask (option 1) at all.

That worked!  Thanks!

Jim Faulkner