Not sure if I am answering your question. I think you meant "Scripts" and not "Scripps".
The 192.168.1.0/24 CIDR allows for 256 IP addresses. If you have that many static reservations, then dnsmasq.conf.add is better place to put them. It is a preference. For one site I support, I have to maintain 40 static IP addresses. Easier to use the entry in dnsmasq.conf.add rather than the gui.
If moving from the 380.x to 384.5 and above code base, you should check the length of dhcp_staticlist using the command:
Code:
nvram get dhcp_staticlist | wc -m
The 384 code limits the total length of dhcp_staticlist to 2999 characters. As a result, the update of dhcp_staticlist will fail if it exceeds the 2999 character limit. A workaround is to manually configure these in dnsmasq.conf.add instead of on the Web GUI. Or, do that for just a few of them to reduce the 2999 character limit used by the Web GUI. I recommend adding the leases to /jffs/configs/dnsmasq.conf.add. I updated my utility menu last night:
Code:
Use this utility to save or restore dhcp static list nvram values
[1] - Save nvram dhcp static list to /opt/tmp/dhcp_staticlist.txt
[2] - Restore nvram dhcp static list from /opt/tmp/dhcp_staticlist.txt
[3] - Output DHCP Static List in dnsmasq.conf.add format
[4] - Append Output DHCP Static List to dnsmasq.conf.add
[5] - Disable Manual Assignment
[6] - Enable Manual Assignment
[7] - Save nvram dhcp_staticlist to /opt/tmp/dhcp_staticlist.txt and clear dhcp_staticlist
[e] - Exit
==>