What's new

RT-AC86U Manually Assigned IP Limit is 64

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

dennyfmn

New Around Here
I have been running an RT-AC66U with version 376.47. For quite a while with 70 some manually assigned addresses.
Manually Assigned IP around the DHCP list (Max Limit : 128)

I am in the process of upgrading to an RT-AC86U running the current release 386.5_2.
I was surprised to see the limit was reduced to 64.
RT-AC86U 386.5_2 Manually Assigned IP around the DHCP list (Max Limit : 64)

When I tried to populate the table from a text file from the old router, it threw a segfault error.
nvram set dhcp_staticlist="`cat dhcp_static2.txt`"

Since a have a bit over 70 manually assigned addresses in the old router, I would like to preserve them on the new router.

Can this be returned to a limit of 128?

Thanks!
 
Use the /jffs/configs/dnsmasq.conf.add script and use the dhcp-host directive instead.
 
Using the web interface to retype 70+ hosthames each time you have to do a manual setup compared to using a pre-configured script that can be easily copied in?
 
You can check out Jack's DHCP script. It allows for import and export options. That script may allow you more than 64 hosts.
 
Using the web interface to retype 70+ hosthames each time you have to do a manual setup compared to using a pre-configured script that can be easily copied in?
I'm not typing anything.

Export from old router:
nvram get dhcp_staticlist > dhcp_static.txt

Copy txt file to new router and import it:
nvram set dhcp_staticlist="`cat dhcp_static.txt`"
nvram commit

Once the table is loaded, maintaining the list from the web interface is much easier.
 
The absolute max characters is now 2500 on your new router. And I believe the format has changed slightly since your ancient 376 version to include a DNS server field, so your export would be incompatible as-is.


 
I'm not typing anything.

Export from old router:
nvram get dhcp_staticlist > dhcp_static.txt

Copy txt file to new router and import it:
nvram set dhcp_staticlist="`cat dhcp_static.txt`"
nvram commit

Once the table is loaded, maintaining the list from the web interface is much easier.

You are assuming nvram variables remain the same across software versions. That is not a good assumption to make. Things change.
 
The absolute max characters is now 2500 on your new router. And I believe the format has changed slightly since your ancient 376 version to include a DNS server field, so your export would be incompatible as-is.


Ok, thanks for the details. I guess I'll use the dhcp-host directive at least for some of my systems that are not expected to change. I was not aware of an nvram format change. Thanks!
 
I think you can install from AMTM.

I find the config so much easier as I also use other custom settings in dnsmasq to integrate my Active Directory into my network.
 
SSH into the router
run amtm
and I think its option j7
 
Last edited:
You can check out Jack's DHCP script. It allows for import and export options. That script may allow you more than 64 hosts.
It allows me 253 hosts on my AC86. OP should get similar
 
Would it be a big deal to put the limit back to 128?
nvram limitations is the issue preventing extending this. That variable max length cannot be increased on the RT-AC86U.
 
Maybe examine closely your reasons for actually needing more than 64 entries on a home router? There may be other options or configurations that are better suited, or a higher end router.
 
Personally, I use YazDHCP. Once installed, it “enhances” the standard DHCP Server WebUI page so it looks like the Asus version on steroids. As other have said, it allows you to export and import your entire list. You can assign the hostname and optionally a different DNS server.
Works well.
 
Interesting. Where can I find that? I looked in Merlin Add-ons and couldn't find it. Thanks, I'm a noobie here...
Run AMTM from the router SSH command line interface; its one of the options in there (j7 for me). Or manually install it. See the dedicated thread topic for YazDHCP in the Add-On's subforum.

YazDHCP - feature expansion of DHCP assignments (increasing limit on the number of DHCP reservations)

Or see the dedicated GitHub page for YazDHCP.

https://github.com/jackyaz/YazDHCP

Once installed one can export/import from the router GUI interface's LAN > DHCP Server page. Example:

YazDHCP.jpg
 
It is indeed J7 (not J2). The only 2 devices I have on the LAN here that have fixed local IP addresses are running Pi-Hole filtering DNS servers. Everything else that I need to access from a browser is set up in the Pi-Hole Local DNS such that I can use friendly names - a bit like having a supercharged hosts file!
 

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