Two consecutive lease entries for same MAC address

andreas.moroder at sb-brixen.it andreas.moroder at sb-brixen.it
Tue Sep 22 12:14:36 UTC 2009


Hello,

in our lease file I found consecutive lease entries for the same MAC  
address with two different IP adresses. The first one has no  
instructions for the dns registration and one vendor-string. The  
second has the dns information and a completely different vendor-string.
The machines are thin clients ( old PCs ) that start from a intel  
bootable bios and then load thinstation.

Can anyone please tell me why dhcpd ( ancient V3.0rc4 ) give two  
different IP addresses even if the MAC is the same ?

I know that we should migrate, but found no documentation on how to  
migrate the lease file ( AFAIK the format changed )


Thanks
Andreas


lease 10.53.39.212 {
   starts 2 2009/09/22 08:23:44;
   ends 4 2009/10/01 00:43:44;
   tstp 4 2009/10/01 00:43:44;
   binding state active;
   next binding state free;
   hardware ethernet 00:d0:b7:40:9d:aa;
   set vendor-string = "PXEClient:Arch:00000:UNDI:002001";
}
lease 10.53.39.247 {
   starts 2 2009/09/22 08:24:05;
   ends 4 2009/10/01 00:44:05;
   tstp 4 2009/10/01 00:44:05;
   binding state active;
   next binding state free;
   hardware ethernet 00:d0:b7:40:9d:aa;
   uid "\001\000\320\267@\235\252";
   set vendor-string = "udhcp 0.9.9-pre";
   set ddns-fwd-name = "derma-vormerk.sb-brixen.it";
   set ddns-rev-name = "247.39.53.10.in-addr.arpa.";
   client-hostname "derma-vormerk";
   on expiry or release {
     switch (ns-update (delete (1, 12, ddns-rev-name, null))) {
      case 0:
       unset ddns-rev-name ;
       break;
     }
     switch (ns-update (delete (1, 1, ddns-fwd-name, leased-address))) {
      case 0:
       unset ddns-fwd-name ;
       break;
     }
     on expiry or release;
   }
}





More information about the dhcp-users mailing list