1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
Dismiss Notice

Welcome To SNBForums

SNBForums is a community for anyone who wants to learn about or discuss the latest in wireless routers, network storage and the ins and outs of building and maintaining a small network.

If you'd like to post a question, simply register and have at it!

While you're at it, please check out SmallNetBuilder for product reviews and our famous Router Charts, Ranker and plenty more!

Sort Manually Assigned IP DHCP list?

Discussion in 'ASUSWRT - Official' started by JohnD5000, Jun 13, 2018.

  1. JohnD5000

    JohnD5000 Regular Contributor

    Joined:
    Nov 20, 2016
    Messages:
    55
    Is there any way to sort the Manually Assigned IP around the DHCP list (LAN/DHCP Server tab) by IP?

    Thanks
     
  2. Please support SNBForums! Just click on this link before you buy something from Amazon and we'll get a small commission on anything you buy. Thanks!
  3. Grisu

    Grisu Very Senior Member

    Joined:
    Aug 28, 2014
    Messages:
    710
    yes, copy/paste to Excel ...

    no, but there have been some requests for that, maybe with a future release.
     
  4. VANT

    VANT Very Senior Member

    Joined:
    Feb 4, 2015
    Messages:
    695
    Location:
    Poland
    Unfortunately, no, but I would really like to Asus add that functionality.
     
  5. LimJK

    LimJK Regular Contributor

    Joined:
    Mar 1, 2014
    Messages:
    109
    Location:
    Singapore
    JohnD5000,

    I have a list of about 40 devices, so I use SSH to save and restore some important or more tedious NVRAM setting including DHCP staticlist. I am on Mac …

    (1) Make a copy of the dhcp staticlist on a ThumbDrive “ASUS”
    nvram get dhcp_staticlist > /tmp/mnt/ASUS/dhcplist.txt

    (2) Edit the list. I used “Hex Fiend” Editor to move a block to the desired position or order; <xx:xx:xx:xx:xx:xx>192.168.1.101 where each block consist of <xx:xx:xx:xx:xx:xx> the Mac Address followed by IP Address to be assigned.

    (3) Restore the new dhcp staticlist from the ThumbDrive “ASUS”
    nvram set dhcp_staticlist="`cat /tmp/mnt/ASUS/dhcplist.txt`"

    PS: Before AiMesh, I only used Merlin's FW which allows the dhcp-staticlist list to be sorted in the GUI :)
     
    HuskyHerder likes this.
  6. JohnD5000

    JohnD5000 Regular Contributor

    Joined:
    Nov 20, 2016
    Messages:
    55

    Thanks, that worked! Had a little problem until I realized that the symbol after " is the `(under ~ key) not ' (under " key).

    BTW, I used to use Merlin too, but it is not compatible with AiMesh. Unfortunate. I saw a post where you can turn AiMesh ON in Merlin with a couple of lines of commands, but I'm not sure how stable that would be (otherwise Merlin would support it). I believe there are parts of Merlin that are not compatible. What would be nice if Merlin would support AiMesh if not using X Y Z etc functions . Many probably are not using incompatible functions. But, who knows what X Y Z functions are, so not worth the chance.
     
    Last edited: Jun 14, 2018
  7. LimJK

    LimJK Regular Contributor

    Joined:
    Mar 1, 2014
    Messages:
    109
    Location:
    Singapore
    Glad the convoluted way of sorting the dhcp_staticlist works for you :)
     
  8. badbob001

    badbob001 Occasional Visitor

    Joined:
    Oct 30, 2012
    Messages:
    15
    I hate the dhcp reservation interface on the asus firmware, which is why I still have an old wrt54gs running tomato as the dhcp server.
     
  9. JohnD5000

    JohnD5000 Regular Contributor

    Joined:
    Nov 20, 2016
    Messages:
    55
    This is just a simple sort, would probably take a Asus programmer 5 minutes to code this.
     
  10. OzarkEdge

    OzarkEdge Senior Member

    Joined:
    Feb 14, 2018
    Messages:
    414
    Location:
    USA
    Apparently not. :)

    OE
     
Please support SNBForums! Just click on this link before you buy something from Amazon and we'll get a small commission on anything you buy. Thanks!