What's new

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

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...
 

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!
Back
Top