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

Robert Olson bob at rdolson.org
Tue Jan 5 01:25:57 GMT 2010


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



More information about the Dnsmasq-discuss mailing list