Hi, This is my server config for dhcp service:
In /var/db/dhclient.leases.ifname I have some configs that the dhcp generate itself,
The question is my lease time in server is 439380 but in the client it is 86400. where is my mistake?
Thanks
Code:
log-facility local7;
ddns-update-style none;
subnet 10.10.10.0 netmask 255.255.255.0 {
range 10.10.10.11 10.10.10.254;
option routers 1.1.1.1;
option domain-name-servers 5.5.5.5;
default-lease-time 439380;
}
In /var/db/dhclient.leases.ifname I have some configs that the dhcp generate itself,
Code:
lease {
interface "gbeth0";
fixed-address 10.10.10.11;
option subnet-mask 255.255.255.0;
option routers 1.1.1.1;
option domain-name-servers 5.5.5.5;
option dhcp-lease-time 86400;
option dhcp-message-type 5;
option dhcp-server-identifier 10.10.10.1;
renew 5 2013/4/26 08:03:12;
rebind 5 2013/4/26 17:03:12;
expire 5 2013/4/26 20:03:12;
}
The question is my lease time in server is 439380 but in the client it is 86400. where is my mistake?
Thanks