BUG - DHCP "static" leases - actually reservations

Started by Xelas, August 09, 2020, 06:15:07 AM

Previous topic - Next topic
As someone with a networking background, I found the term "static" lease types (in Services --> DHCPv4) to be misleading.
Static IP addresses are set on the network hosts manually. Assigning specific addresses to hosts via the DHCP server is called "setting a reservation" or "assigning a reserved address" and those addresses are called "reserved" IPs. The network host will always get that IP address from the DHCP server, but the host itself is still set to DHCP.

I found this misleading and this promulgates the confusion between the two things that often occurs. Can this labeling please be changed? It's technically incorrect.

Thank you!
ProtectLi FW6 | Intel i3-7100U CPU @ 2.40GHz (4 cores) | 8GB RAM | 120GB SSD
Prod Release Train.

August 09, 2020, 09:38:04 PM #1 Last Edit: August 09, 2020, 09:47:37 PM by packet loss
I doubt they will change this even though your are right. The use of the term "static IP" has been used for years on routers for setting DHCP reservations for clients via DHCP.

See the blog post with a great video that supports your position:

Static IP vs DHCP Reservation


Different environments use different terminology. This is common across all of computing. "Static Lease" is a term used in other routers, too. There will never be a 100% compatibility in terms between two different vendors for various reasons.

Quote from: packet loss on August 09, 2020, 09:38:04 PM
I doubt they will change this even though your are right. The use of the term "static IP" has been used for years on routers for setting DHCP reservations for clients via DHCP.

See the blog post with a great video that supports your position:

Static IP vs DHCP Reservation

I see it used most often on consumer-grade devices because most people have no idea what a "DHCP Reservation" is. This is exactly like many people call a desktop PC a "CPU" or a WAP a "Router" because they don't know any better.
You work any any "real" equipment (Cisco, Fortinet) or Microsoft AD, and they are definitely called "Reservations" there.

darkain: "Different environments use different terminology". Not really - this is a clear case of improper terminology.
A static IP is set on the host, and that host does not participate in DHCP broadcasts, does not show up in DHCP lease logs and so does not usually resolve via local DNS unless explicitly set there as well.
A DHCP reservation is set in the DHCP server, and the host behaves just like any other DHCP host.
These are completely different things with different behavior and different results.
ProtectLi FW6 | Intel i3-7100U CPU @ 2.40GHz (4 cores) | 8GB RAM | 120GB SSD
Prod Release Train.

Static mapping, static lease or dhcp reservation have been interchangeable definitions since I've been in the industry, and that's a very long time!


It's just semantics, if it really does bother you greatly then just edit the file to change the text, then you'll not have to look at it again.  :)
OPNsense 24.7 - Qotom Q355G4 - ISP - Squirrel 1Gbps.

Team Rebellion Member