Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
General Discussion
»
DHCP Lease Duration
« previous
next »
Print
Pages: [
1
]
Author
Topic: DHCP Lease Duration (Read 5141 times)
cory1768
Newbie
Posts: 19
Karma: 5
DHCP Lease Duration
«
on:
June 01, 2018, 12:02:57 am »
I tried searching for the answer before hand and I couldn't find anything. Does anyone know how to set a lease to unlimited? I tried setting it to 0 and after a save the value was cleared.
Thanks in advance.
Logged
franco
Administrator
Hero Member
Posts: 17661
Karma: 1611
Re: DHCP Lease Duration
«
Reply #1 on:
June 01, 2018, 08:19:11 am »
For the DHCP server? A static mapping is more appropriate than a near unlimited lease time. Not sure DHCP was built with unlimited lease time in mind.
Cheers,
Franco
Logged
marjohn56
Hero Member
Posts: 1701
Karma: 179
Re: DHCP Lease Duration
«
Reply #2 on:
June 01, 2018, 08:32:14 am »
Yes, it's called a static address.
If I have my maths correct, the maximum lease time is 1099511627286 seconds which is a very long time, there is no such thing as infinity, however a lease of that length will almost certainly outlive you... I say almost because you may not be a human.
Logged
OPNsense 24.7
-
Qotom Q355G4
- ISP -
Squirrel 1Gbps
.
Team Rebellion Member
- If we've helped you remember to applaud
franco
Administrator
Hero Member
Posts: 17661
Karma: 1611
Re: DHCP Lease Duration
«
Reply #3 on:
June 01, 2018, 08:55:55 am »
Hehe, I said "near".
Cheers,
Franco
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
General Discussion
»
DHCP Lease Duration