[Dnsmasq-discuss] Remove router / gateway DHCP option

Douglas Mortensen doug at impalanetworks.com
Thu Jun 5 00:10:47 BST 2008

I'd like to know if there is any command-line argument that I can give
to Dnsmasq to force it to not give a router option to DHCP clients. This
is DHCP option 3.


I've seen that we can set this option with the following command-line




But I'd like to not have the router option handed out by DHCP at all.


I tried setting it to, but that just tells the server to use its
own IP address for that (confirmed at


I also tried -dhcp-option=3,""

But after doing that, the DHCP function stopped working altogether.


I'd really appreciate any help from someone who can tell me how to
accomplish what I'm wanting. The real trick here is that I need it to be
a command-line argument (not a config file). This is because I'm using
it, as it is integrated with dd-wrt v24.


Thanks for your help in advance!


Doug Mortensen

Network Consultant

Impala Networks Inc

CCNA, MCP, Linux+, Network+, A+



P: (505) 327-7300

F: (505) 327-7545


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/attachments/20080604/03063fd0/attachment.html

More information about the Dnsmasq-discuss mailing list