What's new
  • 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!

Remove offline DHCP manual assignments

mikolajek

Occasional Visitor
It looks this issue hasn't been resolved for years now, as I can see similar threads related to the older router models... But I'm hoping I've just overlooked the solution...

So my router is RT-AX88U with the latest firmware: 3.0.0.4.384_8018. The issue faced is pretty straightforward - it's about a device that I used to own and assigned its static DHCP address (via MAC association). I have no longer this device and now there's no way to remove the static DHCP assignment in any way. I obviously remove the record from Advanced | LAN | DHCP Server table (and yes, I click "Apply" afterward) but even though my router seems to save this config, once it's back, the record is still there! I can't obviously assign this particular IP to any other device. Rebooting won't help, it looks that associations for offline devices cannot be edited.

Has anyone resolved such an issue? Maybe if it's not doable via GUI, there's a CLI command for this?
 
Last edited:
It looks this issue hasn't been resolved for years now, as I can see similar threads related to the older router models... But I'm hoping I've just overlooked the solution...

So my router is RT-AX88U with the latest firmware: 3.0.0.4.384_8018. The issue faced is pretty straightforward - it's about a device that I used to own and assigned its static DHCP address (via MAC association). I have no longer this device and now there's no way to remove the static DHCP assignment in any way. I obviously remove the record from Advanced | LAN | DHCP Server table (and yes, I click "Apply" afterward) but even though my router seems to save this config, once it's back, the record is still there! I can't obviously assign this particular IP to any other device. Rebooting won't help, it looks that associations for offline devices cannot be edited.

Has anyone resolved such an issue? Maybe if it's not doable via GUI, there's a CLI command for this?
mikolajek,

If I recall correctly, you can find your offending old device that is kept in nvram "custom_clientlist", there is no GUI to edit this list, by the way, it is not in the "dhcp_staticlist". Below is one way to extract, edit and set "custom_clientlist":
  • nvram get custom_clientlist > /tmp/mnt/ASUS/custom_clientlist.txt
  • Use a Hex editor such as “Hex Fiend” on macOS to Edit / Remove the offending old device name & MacAddress; please do it with care.
  • nvram set custom_clientlist="`cat /tmp/mnt/ASUS/custom_clientlist.txt`"
Hope it works for you:)
 
Superb, thank you, that's much appreciated!

Actually I believe it has been fixed with the Merlin firmware - I've re-attempted to deleted the legacy device there and it's gone for now. I haven't yet assigned this IP to any other device though, so I'm not 100% sure it worked.

If not, I will definitely jump on file editing, as I hate any orphans in my config.
 

Latest 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