Networking Forums

Networking Forums > Computer Networking > Linux Networking > dhcpd - No Free Leases

Reply
Thread Tools Display Modes

dhcpd - No Free Leases

 
 
NAV
Guest
Posts: n/a

 
      09-08-2005, 01:00 AM
Hi All

I am continually getting the error "no free leases" when I try to boot
up networked control panels.

In the configuration file you can see I have tried a number of ways...

The dhcp.conf file follows:

ddns-update-style ad-hoc; // Tried NONE INTERIM ...
default-lease-time 21600;
max-lease-time 777600;

subnet 168.1.0.0 netmask 255.255.255.0
{
}

host k1 {
hardware ethernet address xx:xx:xx:xx:xx:xx
fixed-address 168.1.0.32
filename "/tftpboot/remote.bin"
}

host k2 {
hardware ethernet address xx:xx:xx:xx:xx:xx
fixed-address 168.1.0.34
filename "/tftpboot/remote.bin"
}

host k3 {
hardware ethernet address xx:xx:xx:xx:xx:xx
fixed-address 168.1.0.36
filename "/tftpboot/remote.bin"
}

I get

dhcpdHCPDICOVER from xx:xx:xx:xx:xx:xx via eth1: network
168.1.0.0/24:no free leases

Anyone had this kind of problems, or any advice would really be helpful

Thanks

 
Reply With Quote
 
 
 
 
David Schwartz
Guest
Posts: n/a

 
      09-08-2005, 02:30 AM

"NAV" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed) oups.com...

> hardware ethernet address xx:xx:xx:xx:xx:xx
> hardware ethernet address xx:xx:xx:xx:xx:xx
> hardware ethernet address xx:xx:xx:xx:xx:xx


> dhcpdHCPDICOVER from xx:xx:xx:xx:xx:xx via eth1: network


You've obscured the information we need to understand your problem!

DS


 
Reply With Quote
 
David Bolt
Guest
Posts: n/a

 
      09-08-2005, 02:32 AM
On Wed, 7 Sep 2005, NAV <(E-Mail Removed)> wrote:-

>Hi All
>
>I am continually getting the error "no free leases" when I try to boot
>up networked control panels.
>
>In the configuration file you can see I have tried a number of ways...
>
>The dhcp.conf file follows:
>
>ddns-update-style ad-hoc; // Tried NONE INTERIM ...
>default-lease-time 21600;
>max-lease-time 777600;
>
>subnet 168.1.0.0 netmask 255.255.255.0
>{
>}


If you're wanting dynamically assigned addresses, you need to specify
the range of addresses available for assignment. In my dhcp.conf file I
have the following:

subnet 192.168.0.0 netmask 255.255.255.0 {
range 192.168.0.16 192.168.0.100;
range 192.168.0.102 192.168.0.160;
range 192.168.0.162 192.168.0.207;
range 192.168.0.209 192.168.0.223;
}

with fixed hosts in the gaps. This works just fine and, when someone
plugs into my network[0] they get assigned an IP starting at the top of
the range and working down.

My guess, from this:

>host k1 {
> hardware ethernet address xx:xx:xx:xx:xx:xx
> fixed-address 168.1.0.32
> filename "/tftpboot/remote.bin"
>}
>
>host k2 {
> hardware ethernet address xx:xx:xx:xx:xx:xx
> fixed-address 168.1.0.34
> filename "/tftpboot/remote.bin"
>}
>
>host k3 {
> hardware ethernet address xx:xx:xx:xx:xx:xx
> fixed-address 168.1.0.36
> filename "/tftpboot/remote.bin"
>}


is you're wanting to assign static addresses. If so, try dropping
"address" so they look like:

host k1 {
hardware ethernet xx:xx:xx:xx:xx:xx
fixed-address 168.1.0.32
filename "/tftpboot/remote.bin"
}

host k2 {
hardware ethernet xx:xx:xx:xx:xx:xx
fixed-address 168.1.0.34
filename "/tftpboot/remote.bin"
}

host k3 {
hardware ethernet xx:xx:xx:xx:xx:xx
fixed-address 168.1.0.36
filename "/tftpboot/remote.bin"
}

This would then match one of my working assignments:

host flossy {
fixed-address 192.168.0.7;
hardware ethernet 00:11:95:87:b7:f8;
}


Regards,
David Bolt

--
Member of Team Acorn checking nodes at 63 Mnodes/s: http://www.distributed.net/
AMD 1800 1Gb WinXP/SuSE 9.3 | AMD 2400 160Mb SuSE 8.1 | AMD 2400 256Mb SuSE 9.0
AMD 1300 512Mb SuSE 9.0 | Falcon 14Mb TOS 4.02 | STE 4Mb TOS 1.62
RPC600 129Mb RISCOS 3.6 | A3010 4Mb RISCOS 3.11 | A4000 4Mb RISCOS 3.11
 
Reply With Quote
 
James Knott
Guest
Posts: n/a

 
      09-08-2005, 02:36 AM
David Schwartz wrote:

>> dhcpdHCPDICOVER from xx:xx:xx:xx:xx:xx via eth1: network

>
> You've obscured the information we need to understand your problem!
>


Why would anyone even do that, considering that the MAC address is
irrelevant outside of his local network?

 
Reply With Quote
 
David Schwartz
Guest
Posts: n/a

 
      09-08-2005, 02:52 AM

"James Knott" <(E-Mail Removed)> wrote in message
news:rI2dnXu81oIAPoLeRVn-(E-Mail Removed)...

> David Schwartz wrote:


>>> dhcpdHCPDICOVER from xx:xx:xx:xx:xx:xx via eth1: network

>>
>> You've obscured the information we need to understand your problem!


> Why would anyone even do that, considering that the MAC address is
> irrelevant outside of his local network?


From the mac address we could tell the manufacturer and tease him about
his choice of cheapo network cards.

DS


 
Reply With Quote
 
NAV
Guest
Posts: n/a

 
      09-08-2005, 03:12 AM
Hi all:
I did not add the HW address becoz of not confusing people and not
worried abt any cheapo cards

I am trying to assign static address only for the remote control
panels. I am seeing this problem just abt recently... I found that
dhcpd.leases is empty, does this require any info in this. Also why do
I need leasing start time and end time for even static IP add's

Thanks

 
Reply With Quote
 
David Schwartz
Guest
Posts: n/a

 
      09-08-2005, 04:33 AM

"NAV" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed) oups.com...

> I did not add the HW address becoz of not confusing people and not
> worried abt any cheapo cards


That made it impossible to tell whether the computer that wasn't getting
an IP was configured to get one at all.

> I am trying to assign static address only for the remote control
> panels.


I don't see any configuration in there for anything else.

> I am seeing this problem just abt recently... I found that
> dhcpd.leases is empty, does this require any info in this.


That means there are no leases, assuming you're looking at the right
file and the server is able to update it.

> Also why do
> I need leasing start time and end time for even static IP add's


Because DHCP still grants them a lease to that IP for a particular
amount of time which they have to renew.

DS


 
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
dhcpd complaining about dynamic and static leases rsesnaski@yahoo.com Linux Networking 2 02-12-2006 03:27 PM
dhcpd new leases Win98 machines julien mills Linux Networking 10 08-05-2005 04:25 AM
Newbie and DHCP no free leases Walter Zambotti Linux Networking 0 05-27-2004 06:14 AM
need some help to understand dhcpd.leases TchiKiBoum Linux Networking 1 08-14-2003 03:25 PM
isc dhcpd: update-static-leases not working Mark Dammer Linux Networking 0 06-24-2003 04:11 PM



1 2 3 4 5 6 7 8 9 10 11