[Dnsmasq-discuss] Suppressing default route & DNS server options

Robert Olson bob at rdolson.org
Tue Jan 5 02:04:39 GMT 2010


Sigh, as is often the case I find the solution shortly after I ask for  
help.

The winning config line in the OpenWRT /etc/config/dhcp was

config dhcp lan
	option dhcp_option "3 6"

Both Vista and my printer appear to be happy with that config.

--bob

On Jan 4, 2010, at 7:25 PM, Robert Olson wrote:

> Hi -
>
> I've been trying a number of things to keep dnsmasq from sending the
> DHCP options for default route and DNS server. I'm using an OpenWRT
> router as a DHCP server & wireless bridge for a small standalone
> network of computers (3-4 systems set up to run a shared MS Access
> database, web viewer, etc for a dog show scoring setup). It works like
> a champ, except that when the site has wireless Internet access and
> the systems are attached via wired network to the router. In this case
> the default route and DNS settings interfere with Internet access on
> the hosts.  I can manually override the routes on the hosts, but I'd
> much rather stay hands off.
>
> I've tried using "-O 3, -O 6," to suppress; this works OK on my MacOS
> & XP boxes, but MS Vista appears to reject the DHCP as invalid (you
> get an error on an "ipconfig /renew" and never get an address), and it
> seemed to confuse the heck out of my network-enabled Brother printer.
>
> Is there another way to do this that may work better? Best would be to
> just have it not emit those options at all I think.
>
> This is dnsmasq 2.47 as included in OpenWRT Kamikaze (8.09.1, r16278).
>
> Thank you for any recommendations, and my apologies if this is a FAQ.
> I've been poking around a lot and haven't seen this directly addressed
> that I could find.
>
> --bob
>
> _______________________________________________
> 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