What's new

DHCP static leases only+custom options

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

Khurram

Occasional Visitor
Is it possible to restrict the dhcp server to serve static leases only? I left the starting and ending textboxes blank in the web interface, but it would not let me save it. I would also like to assign different option to one of the clients (like the "Additional DNSMasq Options" textbox in DD-WRT). I could not find one in the web interface.

Thanks.
 
See the Wiki for instructions on how to customize service configuration files.
 
See the Wiki for instructions on how to customize service configuration files.
Thanks for hint; I should have realized it myself. My questions are really dnsmasq related rather than firmware related. I added the following lines in /jffs/configs/dnsmasq.conf.add:

dhcp-range=192.168.1.0,static,255.255.255.0
dhcp-option=3,route_ip
dhcp-option=6,dns1,dns2

Thanks.
 

Similar threads

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top