Bug present in :
1.3.9R12Bug Solved in in : 1.5.2R1 - Thank you Siglent
Scope now renews on "half-time of lease", just as the "doctor (RFC) ordered"
***** TLDR *****I just finished the "Options" on my new
SDS2104X Plus SDS2504X Plus.
I haven't upgraded fw to latest yet, so i'm still on
1.3.9R12I'm noticing that the above version have an "often occuring bug" on embedded systems...
The Scope DHCP Client does not renew the DHCP lease, on lease timeout.
Many users prob. won't detect that, as the scope just keeps using the DHCP IP it was "offered" when booting.
But in my setup i use my linux server with the ISC-DHCP server & the bind9 dns server setup for "dynamic dns add of DHCP clients".
The setup for my "measure vlan" is DHCP with a 1800s (30 min) lease time, and since the scope doesn't send a DHCP identifier i have just added one into my DHCP config file.
I have chosen :
sds2104xThis means that when the scope accepts the DHCP offer, the linux DHCP server will automatically inform the DNS server that it should create a new "host entry" with the above name, and a TTL (lifetime) of 1800 sec.
I noticed the error, when i suddenly couldn't resolve the dns name anymore (more than 30 min since boot), and did a bit of DHCP/DNS log checkking.
Yepp ....
The scope does not respect my 1800s lease time, and for now i have only seen it request a DHCP address on boot, not ever seen a DHCP renew.
Here's a DHCP/DNS log snip from my linux server.
Note the :
Add new forward map, where it adds the scope dns name
And that exactly 30 min later the DHCP server "purges" the dns name , since it hasn't seen a new DHCP transaction from the scope.
Nov 19 12:32:00 frodo dhcpd[23534]: DHCPOFFER on xx.yy.70.130 to <Scope-MAC> via xx.yy.70.1
Nov 19 12:32:00 frodo dhcpd[23534]: DHCPREQUEST for xx.yy.70.130 (aa.bb.117.101) from <Scope-MAC> via xx.yy.70.1
Nov 19 12:32:00 frodo dhcpd[23534]: DHCPACK on xx.yy.70.130 to <Scope-MAC> via xx.yy.70.1
Nov 19 12:32:00 frodo dhcpd[23534]: Added new forward map from sds2104x.mydomain.org. to xx.yy.70.130
Nov 19 12:32:10 frodo dhcpd[23534]: reuse_lease: lease age 10 (secs) under 25% threshold, reply with unaltered, existing lease for xx.yy.70.130
Nov 19 12:32:10 frodo dhcpd[23534]: DHCPOFFER on xx.yy.70.130 to <Scope-MAC> via xx.yy.70.1
Nov 19 12:32:11 frodo dhcpd[23534]: reuse_lease: lease age 11 (secs) under 25% threshold, reply with unaltered, existing lease for xx.yy.70.130
Nov 19 12:32:11 frodo dhcpd[23534]: DHCPREQUEST for xx.yy.70.130 (aa.bb.117.101) from <Scope-MAC> via xx.yy.70.1
Nov 19 12:32:11 frodo dhcpd[23534]: DHCPACK on xx.yy.70.130 to <Scope-MAC> via xx.yy.70.1
Nov 19 13:02:00 frodo dhcpd[23534]: Removed forward map from sds2104x.mydomain.org. to xx.yy.70.130
I have been looking in the newer firmware 1.5.2R1 release notes , and nothing is mentioned about a DHCP Client fix.
So I suppose it's still there in the latest fw. Will upgrade soon, and will test again.
But i think it ought to be reported here.
/Bingo