What's new

YazDHCP Possible Bug? Manual Assignment ignores all but final byte of IP...

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

dentalfloss

New Around Here
Not sure if anyone has had this problem, but it is killing me. Using asus merlin wrt firmware with YazDHCP installed. Router is 10.0.1.1/16, but DHCP manual assignment doesn't let me assign anything other than on 10.0.1.0/24. For instance if I enter 10.0.3.70 as the assigned IP for a particular MAC address, it will accept it when I press Add, but after pressing Apply it will have changed it to 10.0.1.70. Is this known behaviour?
 
Yes, intended. Currently YazDHCP assumes a /24 and strips the first 3 octets to increase the number of reservations that can be saved via the API
 
Thanks for the heads up!

The odd part in that case is that it appears to work as expected (allow any subnet IP to be used) if I enter the desired IP address in the /jffs/addons/YazDHCP.d/.staticlist and then import it with your bash script...
 

Latest threads

Sign Up For SNBForums Daily Digest

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