What's new

dnsmasq : set next-server

  • 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!

TomT

Regular Contributor
Hi

Router AC68U

I'm trying to set the DHCP option next-server value which should update the DHCP siaddr.

In /etc/dnsmasq.conf I've added:
dhcp-option:lan,66,x.x.x.x where x.x.x.x is the IP Address I want to use.

This didn't make any difference to the DHCP options given out.
I've also tried : dhcp-option:lan,66,"x.x.x.x"

Again that hasn't been given out.

if I set
dhcp-option-force:66,"x.x.x.x" Then scope option 66 is set, BUT the DHCP siaddr value isn't updated.

Anyone any idea how I get the siaddr value to be updated with the next-server value ?

Thanks
 
Thanks for the reply.
I was editing that file, killing and restarting dnsmasq to test.
Once I'd got it working I was going to set a custom config file.

Still no nearer to setting the siaddr address..
Any one any ideas ?

I've tried this on openSuSE using it's dhcpd and that works using the next-server option.

Thanks
 
:D looks like I may have found it...

adding the following to dnsmasq.conf seems to work
Code:
dhcp-boot=file.txt,192.168.1.20,192.168.1.20

How do I get this to be included at boot ? Which file do I need to update ?

Thanks
 

Similar threads

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

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