我有一个centOS DHCP服务器配置为提供20分钟的租期。但是一个客户请求租借10分钟。是否可以将dhcpd配置为即使客户端请求10分钟的租用也给予20分钟的租用。
发布于 2010-08-10 00:42:40
参见dhcpd.conf(5):
The min-lease-time statement
min-lease-time time;
Time should be the minimum length in seconds that will be assigned to a lease.
发布于 2017-10-31 05:38:19
是的,它可以。DHCPD服务器将根据dhcpd选项提供租用
min-lease-time 120; <- Mean minimum lease DHCP server will assign greater than 120 secs
max-lease-time 120; <- Mean maximum lease DHCP server will assign less than 120 secs
default-lease-time 120; <- Mean default lease DHCP server will assign is 120 secs
你想要所有3个选项的所有网络范围,你将设置,否则会发生什么,客户端可能会得到奇怪的租约。
您可以在配置了dhcpd的linux服务器上查看手册页
man 5 dhcpd
https://stackoverflow.com/questions/3425473
复制相似问题