当前位置: 技术问答>linux和unix
dhcp的问题。
来源: 互联网 发布时间:2015-06-21
本文导语: subnet 172.16.8.0 netmask 255.255.248.0 { range 172.16.8.2 172.16.8.240; default-lease-time 7200; max-lease-time 7200; ddns-updates on; allow unknown-clients; option routers 172.16.8.1; option domain-name-servers 210.52.207.2; } lease 172.16.8.255 { start...
subnet 172.16.8.0 netmask 255.255.248.0 {
range 172.16.8.2 172.16.8.240;
default-lease-time 7200;
max-lease-time 7200;
ddns-updates on;
allow unknown-clients;
option routers 172.16.8.1;
option domain-name-servers 210.52.207.2;
}
lease 172.16.8.255 {
starts 1 2004/02/09 09:12:42;
ends 1 2004/02/09 09:12:42;
tstp 1 2004/02/09 09:12:42;
binding state free;
hardware ethernet 00:e0:4c:00:1e:ab;
uid "0100340L0036253";
}
怎么每次都是1秒就释放了,是自动释放的?
range 172.16.8.2 172.16.8.240;
default-lease-time 7200;
max-lease-time 7200;
ddns-updates on;
allow unknown-clients;
option routers 172.16.8.1;
option domain-name-servers 210.52.207.2;
}
lease 172.16.8.255 {
starts 1 2004/02/09 09:12:42;
ends 1 2004/02/09 09:12:42;
tstp 1 2004/02/09 09:12:42;
binding state free;
hardware ethernet 00:e0:4c:00:1e:ab;
uid "0100340L0036253";
}
怎么每次都是1秒就释放了,是自动释放的?
|
你的配置应该没问题,只是ddns-updates现在似乎已经不需要了。为什么会一秒就释放,应该不是服务器的问题。看看客户端的配置,客户端似乎可以强制要求缩短释放时间的。
|
我也想学习学习