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