Find the answer to your Linux question:
Results 1 to 3 of 3
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    dhcpd3 no free leases

    Hey guys,

    For some strange reason my DHCP server no longer allocates IP addresses.

    I've deleted /var/lib/dhcp3/dhcpd.leases and /var/lib/dhcp3/dhcpd.leases~ and /var/lib/dhcp3/dhclient.eth0.leases
    Which by the way, had many old dhcp entries in them (From months back, which should have expired).

    I restarted dhcpd3 and got the machine to request another IP address.

    dhcpd3 still reports:
    Jan 14 15:02:40 dhcpserver dhcpd: DHCPDISCOVER from 11:22:33:44:55:66 via eth0: network 10/8: no free leases

    Sooo.... I have 2 questions...

    How can I fix this, and how can I prevent it from happening again?

  2. #2
    Did you change anything in your dhcpd config file? What distro are you using, btw? Did you compile dhcpd3 from source, or are you using a version provided by your distro? Do you have multiple NICs?

  3. #3
    Hey Atreyu,

    Yes, I have, here's my DHCPd config file (With exampled quotes removed):

    ddns-update-style none;

    option domain-name "";
    option domain-name-servers,;

    default-lease-time 3600;
    max-lease-time 7200;

    log-facility local7;

    # Start DHCP network settings
    option subnet-mask;
    option broadcast-address;
    option routers;
    option domain-name-servers;
    # End DHCP network settings

    # Start DHCP range list
    subnet netmask {
    # End DHCP range list

    # Start static host list

    host outer {
    hardware ethernet E0:69:95:77:A2:33;
    host aprouter {
    hardware ethernet 00:11:e4:ad:36:6b;

    host server {
    hardware ethernet 00:1D:4E:09:37:F9;

    host pc {
    hardware ethernet BC:AE5:AA:EF:C8;

    subnet netmask {
    I'm using Ubuntu Server 11.04.

    I'm using the standard one. Yup. I have 2 NICs & one Virtual one.
    eth0: (Statically assigned from DHCP server)
    eth1: (Static, not controlled by DHCP, virtual one for interfacing with the ADSL card)
    ppp0: (Dynamic from ISP, this is an ADSL 2 card using Bridged Ethernet).

  4. $spacer_open

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts