"no free leases" problem with isc dhcp 3.0.1 on Debian

Discussion in 'Linux Networking' started by ceremona, Jun 20, 2006.

  1. ceremona

    ceremona Guest

    Hi,

    I have a fairly straighforward dhcp3 setup with gives ip addresses
    based mac assignments, dhcpd.conf file is as follows:

    ======================================================================
    ddns-update-style none;

    log-facility local7;

    subnet 10.11.12.0 netmask 255.255.255.0 {
    }
    group {
    filename "pxelinux.0";
    next-server 10.11.12.150;
    option domain-name-servers 10.11.12.150;
    option broadcast-address 10.11.12.255;
    host mos1 {
    hardware ethernet 00:30:48:74:4a:f3;
    fixed-address 10.11.12.151;
    }
    host mos2 {
    hardware ethernet 00:30:48:71:1f:55;
    fixed-address 10.11.12.152;
    }
    host mos3 {
    hardware ethernet 00:30:48:70:d2:d9;
    fixed-address 10.11.12.153;
    }
    host mos4 {
    hardware ethernet 00:30:48:75:02:33;
    fixed-address 10.11.12.154;
    }
    host mos5 {
    hardware ethernet 00:30:48:75:00:01;
    fixed-address 10.11.12.155;
    }
    host mos6 {
    hardware ethernet 6a:c1:03:04:87:09;
    fixed-address 10.11.12.156;
    }
    hardware ethernet 00:30:48:73:AA:BF;
    fixed-address 10.11.12.157;
    }
    host mos8 {
    hardware ethernet 00:30:48:73:62:01;
    fixed-address 10.11.12.158;
    }
    host mos9 {
    hardware ethernet 00:30:48:85:be:f3;
    fixed-address 10.11.12.159;
    }
    host mos10 {
    hardware ethernet 00:30:48:71:1f:83;
    fixed-address 10.11.12.160;
    }

    host mos11 {
    hardware ethernet 00:30:48:58:42:5b;
    fixed-address 10.11.12.161;
    }

    host mos12 {
    hardware ethernet 00:30:48:58:42:f1;
    fixed-address 10.11.12.162;
    }

    host mos13 {
    hardware ethernet 00:30:48:58:42:95;
    fixed-address 10.11.12.163;
    }

    host mos14 {
    hardware ethernet 00:30:48:58:42:8b;
    fixed-address 10.11.12.164;
    }

    host mos15 {
    hardware ethernet 00:0c:4f:79:57:5a;
    fixed-address 10.11.12.165;
    }

    host mos16 {
    hardware ethernet 00:e0:81:20:3b:e4;
    fixed-address 10.11.12.166;
    }

    host mos17 {
    hardware ethernet 00:50:45:5c:aE:9a;
    fixed-address 10.11.12.167;
    }
    }
    ===================================================
    The problem is that I seem to get a "no free leases" error where I
    never have had one before. I have tried using the "range" command
    within the subnet declaration, but that is only meant for dynamic ip
    address. It works correctly, but ultimately does not solve my problem.
    Additionally, my leases are not being written to the dhcpd.leases
    file.

    Can anyone see anything obviously wrong with my setup?

    Thanks,
    Cere
     
    ceremona, Jun 20, 2006
    #1
    1. Advertisements

  2. Surely something missing here!
    What is the MAC address that it won't hand out an IP address to? And
    does syslog have anything to say about it?

    Robert
     
    Robert Harris, Jun 20, 2006
    #2
    1. Advertisements

  3. ceremona

    ceremona Guest

    In fact I have tried many ip addresses and no new ones work. Syslog
    shows the incoming DHCPDISCOVER request and complains about "no new
    leases". For DHCPREQUEST it hands back the old lease addresses to the
    other hosts. Mos15 is the host that wont work now, but I have tried
    other ip and mac addresses as well. It would appear that there are
    indeed no new leases available for any new host I add, but I cannot see
    why that would be!

    -Cere
     
    ceremona, Jun 20, 2006
    #3
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.