TchiKiBoum
07-24-2004, 08:47 PM
hi ,
sorry for my english !
I'm new using DHCP.
After reading the dhcpd.leases man page I thought that the binding
state was either active when the IP was given to a workstation or free
when the workstation release the IP and eventually abandonned when
something is wrong.
But when I look at my dhcpd.leases I found that several IP was in a
binding state active and the same hardware address. Did I understand
the man page in a wrong way or is it a configuration problem ?
this my dhcpd.conf
ddns-update-style interim ;
log-facility local0 ;
max-lease-time 3600 ;
default-lease-time 600 ;
option domain-name "mydomain" ;
option domain-name-servers 172.16.0.9 ;
option netbios-name-servers 172.16.0.11 ;
subnet 172.16.0.0 netmask 255.255.0.0 {
range 172.16.19.1 172.16.19.50;
option subnet-mask 255.255.0.0;
option broadcast-address 172.16.255.255;
option routers 172.16.254.1;
}
this is a part of my dhcpd.leases
lease 172.16.19.37 {
starts 4 2003/08/14 14:10:22;
ends 4 2003/08/14 14:20:22;
binding state active;
next binding state free;
hardware ethernet 00:0b:cd:1e:ef:f4;
uid "\001\000\013\315\036\357\364";
set ddns-rev-name = "37.19.16.172.in-addr.arpa.";
set ddns-txt = "31a44b76a6fa4da68085f72bfdf8dcf3e9";
set ddns-fwd-name = "P006328.chlr";
client-hostname "P006328";
}
lease 172.16.19.46 {
starts 4 2003/08/14 14:13:30;
ends 4 2003/08/14 14:23:30;
binding state active;
next binding state free;
hardware ethernet 00:0b:cd:1e:ef:f4;
uid "\001RAS \000\013\315\036\357\364\000\000\000\000\000\000";
client-hostname "P006328";
}
lease 172.16.19.45 {
starts 4 2003/08/14 14:13:30;
ends 4 2003/08/14 14:23:30;
binding state active;
next binding state free;
hardware ethernet 00:0b:cd:1e:ef:f4;
uid "\001RAS \000\013\315\036\357\364\000\000\001\000\000\000";
client-hostname "P006328";
}
lease 172.16.19.37 {
starts 4 2003/08/14 14:15:22;
ends 4 2003/08/14 14:25:22;
binding state active;
next binding state free;
hardware ethernet 00:0b:cd:1e:ef:f4;
uid "\001\000\013\315\036\357\364";
set ddns-rev-name = "37.19.16.172.in-addr.arpa.";
set ddns-txt = "31a44b76a6fa4da68085f72bfdf8dcf3e9";
set ddns-fwd-name = "P006328.chlr";
client-hostname "P006328";
}
I was expecting the @IP 172.16.19.46 and 172.16.19.45 to be free.
Thanks you for your help.
sorry for my english !
I'm new using DHCP.
After reading the dhcpd.leases man page I thought that the binding
state was either active when the IP was given to a workstation or free
when the workstation release the IP and eventually abandonned when
something is wrong.
But when I look at my dhcpd.leases I found that several IP was in a
binding state active and the same hardware address. Did I understand
the man page in a wrong way or is it a configuration problem ?
this my dhcpd.conf
ddns-update-style interim ;
log-facility local0 ;
max-lease-time 3600 ;
default-lease-time 600 ;
option domain-name "mydomain" ;
option domain-name-servers 172.16.0.9 ;
option netbios-name-servers 172.16.0.11 ;
subnet 172.16.0.0 netmask 255.255.0.0 {
range 172.16.19.1 172.16.19.50;
option subnet-mask 255.255.0.0;
option broadcast-address 172.16.255.255;
option routers 172.16.254.1;
}
this is a part of my dhcpd.leases
lease 172.16.19.37 {
starts 4 2003/08/14 14:10:22;
ends 4 2003/08/14 14:20:22;
binding state active;
next binding state free;
hardware ethernet 00:0b:cd:1e:ef:f4;
uid "\001\000\013\315\036\357\364";
set ddns-rev-name = "37.19.16.172.in-addr.arpa.";
set ddns-txt = "31a44b76a6fa4da68085f72bfdf8dcf3e9";
set ddns-fwd-name = "P006328.chlr";
client-hostname "P006328";
}
lease 172.16.19.46 {
starts 4 2003/08/14 14:13:30;
ends 4 2003/08/14 14:23:30;
binding state active;
next binding state free;
hardware ethernet 00:0b:cd:1e:ef:f4;
uid "\001RAS \000\013\315\036\357\364\000\000\000\000\000\000";
client-hostname "P006328";
}
lease 172.16.19.45 {
starts 4 2003/08/14 14:13:30;
ends 4 2003/08/14 14:23:30;
binding state active;
next binding state free;
hardware ethernet 00:0b:cd:1e:ef:f4;
uid "\001RAS \000\013\315\036\357\364\000\000\001\000\000\000";
client-hostname "P006328";
}
lease 172.16.19.37 {
starts 4 2003/08/14 14:15:22;
ends 4 2003/08/14 14:25:22;
binding state active;
next binding state free;
hardware ethernet 00:0b:cd:1e:ef:f4;
uid "\001\000\013\315\036\357\364";
set ddns-rev-name = "37.19.16.172.in-addr.arpa.";
set ddns-txt = "31a44b76a6fa4da68085f72bfdf8dcf3e9";
set ddns-fwd-name = "P006328.chlr";
client-hostname "P006328";
}
I was expecting the @IP 172.16.19.46 and 172.16.19.45 to be free.
Thanks you for your help.