[Dnsmasq-discuss] Specify no default route

Simon Kelley simon at thekelleys.org.uk
Thu Jan 31 16:50:15 GMT 2008


John Hanks wrote:
> Hello,
> 
> Sorry if this is something simple I'm overlooking. I see in the man
> page that DHCP repsonses include the interface they are sent through
> as the default route or I can specify a default route that is
> different but I don't see how to specify no default route. How to I
> get dsnmasq to not return a default route?
> 

>From the example config file....

# Override the default route supplied by dnsmasq and send no default
# route at all. Note that this only works for the options sent by
# default (1, 3, 6, 12, 28) the same line will send a zero-length option
# for all other option numbers.
#dhcp-option=3


HTH

Simon.




More information about the Dnsmasq-discuss mailing list