Option 82 and dhcpd. "No free leases" for second computer
        Posted  
        
            by SaveTheRbtz
        on Server Fault
        
        See other posts from Server Fault
        
            or by SaveTheRbtz
        
        
        
        Published on 2009-06-19T00:24:33Z
        Indexed on 
            2010/04/06
            9:23 UTC
        
        
        Read the original article
        Hit count: 743
        
There is DHCP server in network (isc-dhcpd-server-3.0 on FreeBSD 7.2) than gives one IP per switch port to every user via Option 82
The problem appears when user disconnects one of his computers and connects another(i.e notebook with different MAC address) then DHCPD puts to log "...network net1: no free leases", because there is record in leases file that this IP is already owned by another MAC. That second computer will have his IP only after default-lease-time (that is IIRC minimum 10min, and after 3min he usually calling support) or after deletion of dhcpd.leases file and restart of dhcpd.
Is there a way to turn leases off at all, because we have strict binding between switch-port-ip?
© Server Fault or respective owner