However I just tried this with my current build (41586) and only the first entry works. The rest are empty. Does anyone have an idea what the problem might be? Thanks.
However I just tried this with my current build (41586) and only the first entry works. The rest are empty. Does anyone have an idea what the problem might be? Thanks.
That document looks really old. I handle static leases by adding a line like this, for each one, to the Additional Dnsmasq Options window in GUI>Services>Services:
Choose each static IP address outside the DHCP range, stay away from 1 and 255 in the last component of the address, and of course avoid the router's own IP. The expiration interval at the end I believe can be set to "infinite", but I've not tried it. The device name can be whatever you like (should only affect local DNS and the GUI>Status displays), but some special characters may cause trouble, so don't push it.
The entire contents of that Additional DNSmasq Options window is in nvram variable dnsmasq_options, so if you really, really need to handle this in the CLI, you can cook up a way to edit that variable. If you are a linux person, it should be fairly simple.
This method is fine for a modest number of static leases, but if you have a vast number, you'll need a different approach. _________________ 2x Netgear XR500 and 3x Linksys WRT1900ACSv2 on 53544: VLANs, VAPs, NAS, station mode, OpenVPN client (AirVPN), wireguard server (AirVPN port forward) and clients (AzireVPN, AirVPN, private), 3 DNSCrypt providers via VPN.
Joined: 30 May 2017 Posts: 582 Location: Rural Manitoba
Posted: Mon Mar 16, 2020 16:24 Post subject:
Don't know if would be helpful, but if you PM me I can show you what I do to setup 99 static leases and keep them organized with very little effort. One by one is OK until you get to a large number and then it becomes a nightmare to re-install and maintain. _________________ Starlink & DSL -> TPLink TL-R470T+
->
WRT3200acm Master WDS 5GHz 80Mhz CH 100 (+6) r55819
Ath1 2.4Ghz Disabled
99 Static Leases
ExpressVPN
WRT3200acm r55819 WDS Station 5Ghz
Ath1 AP N/G Mixed Channel 11 HT40
WRT1900Ac V1 5Ghz r55819 WDS Station
(Defective, no 2.4Ghz but 5Ghz works great)
WRT1900AC V1 5Ghz AC 80Mhz WDS Station r55819
2.4Ghz AP Ch1 HT20 Mixed
WRT1900ACS SPARE r54914
WRT1900AC SPARE r54914
WRT1900AC V1 5Ghz AC 80Mhz WDS-AP r55819
2.4Ghz AP Ch1 HT20 Mixed
WRT54G DD-WRT v3.0-r37305 micro AP CH 6 Mixed - Not in use
Joined: 30 May 2017 Posts: 582 Location: Rural Manitoba
Posted: Mon Mar 16, 2020 19:16 Post subject:
wilma wrote:
Not that it's a contest, but I have 97.
And yes, one at a time would be a royal PITA.
PM sent. Thanks!
PM'd my procedure. I don't think there is a limit on number of leases as long as your DHCP starts outside your list. I used 99 as it is easy to remember to start my DHCP at 100.
Also once you get a handle on it you find it easy to organize, mine is sequential by IP.
And here's a real kicker, if you already have a list in the router, take a backup, open the backup and copy/paste the list into your new static file. _________________ Starlink & DSL -> TPLink TL-R470T+
->
WRT3200acm Master WDS 5GHz 80Mhz CH 100 (+6) r55819
Ath1 2.4Ghz Disabled
99 Static Leases
ExpressVPN
WRT3200acm r55819 WDS Station 5Ghz
Ath1 AP N/G Mixed Channel 11 HT40
WRT1900Ac V1 5Ghz r55819 WDS Station
(Defective, no 2.4Ghz but 5Ghz works great)
WRT1900AC V1 5Ghz AC 80Mhz WDS Station r55819
2.4Ghz AP Ch1 HT20 Mixed
WRT1900ACS SPARE r54914
WRT1900AC SPARE r54914
WRT1900AC V1 5Ghz AC 80Mhz WDS-AP r55819
2.4Ghz AP Ch1 HT20 Mixed
WRT54G DD-WRT v3.0-r37305 micro AP CH 6 Mixed - Not in use
I want to thank WENED for providing a thorough and very helpful procedure for importing my static leases. I appreciate the great support from members on this forum!
Don't know if would be helpful, but if you PM me I can show you what I do to setup 99 static leases and keep them organized with very little effort. One by one is OK until you get to a large number and then it becomes a nightmare to re-install and maintain.
Definitely a nightmare. I've set up a mix of static leases and placeholders in it as well for a total of 99. A complete set up by hand if I have to wipe my settings is nearly a half day job, so I cringe if I have to deal with static IP leases.
Don't know if would be helpful, but if you PM me I can show you what I do to setup 99 static leases and keep them organized with very little effort. One by one is OK until you get to a large number and then it becomes a nightmare to re-install and maintain.
Sent a PM as I could use some help with loading static IPs. _________________ -Tim
Joined: 30 May 2017 Posts: 582 Location: Rural Manitoba
Posted: Thu Mar 19, 2020 16:58 Post subject:
CantRepeat wrote:
WENED wrote:
Don't know if would be helpful, but if you PM me I can show you what I do to setup 99 static leases and keep them organized with very little effort. One by one is OK until you get to a large number and then it becomes a nightmare to re-install and maintain.
Sent a PM as I could use some help with loading static IPs.
Responded yesterday. Let me know if you did not receive PM and I will resend _________________ Starlink & DSL -> TPLink TL-R470T+
->
WRT3200acm Master WDS 5GHz 80Mhz CH 100 (+6) r55819
Ath1 2.4Ghz Disabled
99 Static Leases
ExpressVPN
WRT3200acm r55819 WDS Station 5Ghz
Ath1 AP N/G Mixed Channel 11 HT40
WRT1900Ac V1 5Ghz r55819 WDS Station
(Defective, no 2.4Ghz but 5Ghz works great)
WRT1900AC V1 5Ghz AC 80Mhz WDS Station r55819
2.4Ghz AP Ch1 HT20 Mixed
WRT1900ACS SPARE r54914
WRT1900AC SPARE r54914
WRT1900AC V1 5Ghz AC 80Mhz WDS-AP r55819
2.4Ghz AP Ch1 HT20 Mixed
WRT54G DD-WRT v3.0-r37305 micro AP CH 6 Mixed - Not in use
Don't know if would be helpful, but if you PM me I can show you what I do to setup 99 static leases and keep them organized with very little effort. One by one is OK until you get to a large number and then it becomes a nightmare to re-install and maintain.
Definitely a nightmare. I've set up a mix of static leases and placeholders in it as well for a total of 99. A complete set up by hand if I have to wipe my settings is nearly a half day job, so I cringe if I have to deal with static IP leases.
Yes, sorry, I did get it. Had a hard time figuring out how to get to PMs with the PM send button. _________________ -Tim
Joined: 30 May 2017 Posts: 582 Location: Rural Manitoba
Posted: Sun Mar 22, 2020 12:18 Post subject:
CantRepeat wrote:
Is there a method to do this with port forwarding?
Much the same as setting static leases, the Forward and Port_Forward can also be done via a command line. The list can be placed into a Linux text file and loaded as required. _________________ Starlink & DSL -> TPLink TL-R470T+
->
WRT3200acm Master WDS 5GHz 80Mhz CH 100 (+6) r55819
Ath1 2.4Ghz Disabled
99 Static Leases
ExpressVPN
WRT3200acm r55819 WDS Station 5Ghz
Ath1 AP N/G Mixed Channel 11 HT40
WRT1900Ac V1 5Ghz r55819 WDS Station
(Defective, no 2.4Ghz but 5Ghz works great)
WRT1900AC V1 5Ghz AC 80Mhz WDS Station r55819
2.4Ghz AP Ch1 HT20 Mixed
WRT1900ACS SPARE r54914
WRT1900AC SPARE r54914
WRT1900AC V1 5Ghz AC 80Mhz WDS-AP r55819
2.4Ghz AP Ch1 HT20 Mixed
WRT54G DD-WRT v3.0-r37305 micro AP CH 6 Mixed - Not in use
Is there a method to do this with port forwarding?
Much the same as setting static leases, the Forward and Port_Forward can also be done via a command line. The list can be placed into a Linux text file and loaded as required.
Many thanks to you sir for the static lease info; it worked perfectly.
Anyone know the netmask priority command line to load IP addresses into the QOS interface? _________________ -Tim