DHCP: Two leases per client



  • We have about 100 clients in our subnet and realized that each of the clients uses two dhcp leases.
    The first one it is identified only by the mac adress requested by the pxe client,
    the second one is from windows and contains the mac and an uid.

    There are two fixes for that chase:
    1: in the dhcpd.conf: deny duplicates
    2: a “one-lease-per-mac” patch for the dhcp server which needs to be applied to the source and then recompiled

    Anyone realized the same behavour and found a working solution?



  • We fixed this by adding the following to our dhcpd.conf
    [CODE]class “pxeclients”{
    match if ((substring(option vendor-class-identifier, 0, 9) = “PXEClient”) or (substring(opti
    filename “pxelinux.0”;
    max-lease-time 120;
    }
    [/CODE]


Log in to reply
 

396
Online

39.3k
Users

11.0k
Topics

104.6k
Posts

Looks like your connection to FOG Project was lost, please wait while we try to reconnect.