What's new

Static DHCP Limit?

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

Allan Marcus

Regular Contributor
Is there a limit to the number of devices that can be registered for static DHCP addresses? The RT-AC68U manual says: "Up to 32 MAC Addresses can be added to the DHCP list for manual assignment"

Is the limit with ASUS_Merlin also 32?
 
Is there a limit to the number of devices that can be registered for static DHCP addresses? The RT-AC68U manual says: "Up to 32 MAC Addresses can be added to the DHCP list for manual assignment"

Is the limit with ASUS_Merlin also 32?
I am not sure on the 68U but I think it is 128 (I used to have a 68U and I think that is correct; if you install Merlin it tells you on the DHCP assignment page). It is 128 on the 86U
 
With the current firmware the number of entries is limited to using 2999 bytes of NVRAM. This means that the exact number of entries will vary depending on the length of the hostname and IP address. But as a rough approximation it will be about 70 entries.
 
I am not sure on the 68U but I think it is 128 (I used to have a 68U and I think that is correct; if you install Merlin it tells you on the DHCP assignment page). It is 128 on the 86U

Yep! It's right there on the page:

Manually Assigned IP around the DHCP list (Max Limit : 128)

Many thanks.
 
Is there a command to see how much NVRAM is being used for this?

other than
nvram show

which returns this for me
size: 58873 bytes (6663 left)

would this be close?
nvram show | grep dhcp_staticlist | wc
 
The important part is the length of the dhcp_staticlist value, not the space in the nvram storage space. Each nvram entry now has an assigned maximum length, which in many cases I can no longer increase (more specifically with the RT-AC86U and RT-AX88U, which enforces length validation in closed source portions of the firmware).
 
next time I get this error:

failed to write /var/lib/misc/dnsmasq.leases: No space left on device

I'll check nvram space and see if that is the issue. Unless you have a better idea. Rebooting the router usually resolves the issue.
 
The important part is the length of the dhcp_staticlist value, not the space in the nvram storage space. Each nvram entry now has an assigned maximum length, which in many cases I can no longer increase (more specifically with the RT-AC86U and RT-AX88U, which enforces length validation in closed source portions of the firmware).
I was forgetting that some of the "nvram variables" are no longer stored in NVRAM. Is dhcp_staticlist one of those?
 
next time I get this error:

failed to write /var/lib/misc/dnsmasq.leases: No space left on device

I'll check nvram space and see if that is the issue. Unless you have a better idea. Rebooting the router usually resolves the issue.
That has nothing to do with NVRAM or dhcp_staticlist. That error has been discussed in other threads.
 
I was forgetting that some of the "nvram variables" are no longer stored in NVRAM. Is dhcp_staticlist one of those?

Only on HND models, and it's totally transparent - the nvram userspace tool will automatically access the correct location.
 

Similar threads

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