bug with static hosts

squid squid at csumb.edu
Fri Oct 20 17:39:47 UTC 2006


We assign our printers (HP's) static hosts in dhcp lately I've noticed randomly the DHCP is handing them an IP out of the normal pool instead of giving them the static host. Heres an example:
so I made a static host as follows:

host p86d-101-002 {hardware ethernet 00:14:38:d7:6d:c7; fixed-address 10.12.21.24;}

but instead the printer grabs this lease:

lease 10.12.21.214 {
  starts 4 2006/10/19 22:14:21;
  ends 6 2006/10/21 22:14:21;
  binding state active;
  next binding state free;
  hardware ethernet 00:14:38:d7:6d:c7;
  uid "\000\000\0248\327m\307";
  client-hostname "NPID76DC7";
}

and in the log file:

Oct 18 15:28:06 muntz dhcpd: BOOTREQUEST from 00:14:38:d7:6d:c7 via 10.12.21.129: BOOTP from dynamic client and no dynamic leases
Oct 18 15:28:16 muntz dhcpd: BOOTREQUEST from 00:14:38:d7:6d:c7 via 10.12.21.129: BOOTP from dynamic client and no dynamic leases
Oct 18 15:28:36 muntz dhcpd: BOOTREQUEST from 00:14:38:d7:6d:c7 via 10.12.21.129: BOOTP from dynamic client and no dynamic leases
Oct 18 15:29:16 muntz dhcpd: DHCPDISCOVER from 00:14:38:d7:6d:c7 (NPID76DC7) via 10.12.21.129
Oct 18 15:29:19 muntz dhcpd: DHCPOFFER on 10.12.21.214 to 00:14:38:d7:6d:c7 (NPID76DC7) via 10.12.21.129
Oct 18 15:29:19 muntz dhcpd: DHCPREQUEST for 10.12.21.214 (172.16.1.9) from 00:14:38:d7:6d:c7 (NPID76DC7) via 10.12.21.129
Oct 18 15:29:19 muntz dhcpd: DHCPACK on 10.12.21.214 to 00:14:38:d7:6d:c7 (NPID76DC7) via 10.12.21.129
Oct 19 15:14:21 muntz dhcpd: DHCPREQUEST for 10.12.21.214 from 00:14:38:d7:6d:c7 (NPID76DC7) via eth0
Oct 19 15:14:21 muntz dhcpd: DHCPACK on 10.12.21.214 to 00:14:38:d7:6d:c7 (NPID76DC7) via eth0

Ideas? This is with 3.0.4 on centos 4.4

Paul Hall
Network Operations Analyst
IT @ CSUMB / Network Operations
CSU Monterey Bay
(831) 582-3802
paul at csumb.edu





More information about the dhcp-users mailing list