Networking Forums

Networking Forums > Computer Networking > Linux Networking > "no free leases" problem with isc dhcp 3.0.1 on Debian

Reply
Thread Tools Display Modes

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

 
 
ceremona@gmail.com
Guest
Posts: n/a

 
      06-20-2006, 07:57 PM
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

 
Reply With Quote
 
 
 
 
Robert Harris
Guest
Posts: n/a

 
      06-20-2006, 09:41 PM
(E-Mail Removed) wrote:
> 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;
> }


Surely something missing here!

> 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
>


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
 
Reply With Quote
 
ceremona@gmail.com
Guest
Posts: n/a

 
      06-20-2006, 10:59 PM
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

Robert Harris wrote:

> >

>
> 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


 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
NEWS: "Free" Wi-Fi Follies: "EarthLink Deal With SF Looks Dead" John Navas Wireless Internet 1 08-30-2007 02:50 PM
Re: SPEWS SLIMES "WindsorFox", "Kevin-!:?)", "Spin Dryer" get the cold shoulder at broadband ng! SneakyP Broadband 0 11-29-2005 10:46 PM
Attention Plus.net Re: SPEWS DOLTS "WindsorFox", "Kevin-!:?)", "SpinDryer" SPAM broadband newsgroup !:?) Broadband 0 11-28-2005 04:28 AM
Attention Plus.Net Re: SPEWS DOLTS "WindsorFox", "Kevin-!:?)", "SpinDryer" SPAM braodband newsgroup !:?) Broadband 0 11-28-2005 03:03 AM
dhcp-client ignores "supersede" and "prepend" options Peter Klein Linux Networking 0 01-28-2004 12:21 AM



1 2 3 4 5 6 7 8 9 10 11