• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    DHCP: Two leases per client

    Scheduled Pinned Locked Moved
    Linux Problems
    1
    2
    2.3k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • A
      AsciiReign
      last edited by

      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?

      1 Reply Last reply Reply Quote 0
      • A
        AsciiReign
        last edited by

        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]

        1 Reply Last reply Reply Quote 0
        • 1 / 1
        • First post
          Last post

        149

        Online

        12.0k

        Users

        17.3k

        Topics

        155.2k

        Posts
        Copyright © 2012-2024 FOG Project