No free leases
Marcos Iuato
iuato at samurai.com.br
Fri Sep 1 16:41:06 UTC 2006
Hi shishir,
We develop an solution for remote boot, we use dhcp to tell to the
terminal where is the nfs server to use as rootfs.
The network that are configured is:
Host running dhcp server:
eth0: connected to internet - 172.16.36.6
eth1: terminals from 192.168.11.1 to 192.168.11.144
eth2: terminals from 192.168.21.1 to 192.168.21.144
NFS server #1
eth1: terminals from 192.168.11.1 to 192.168.11.144
NFS server #2
eth1: terminals from 192.168.21.1 to 192.168.21.144
gerenciador:~# ifconfig
eth0 Link encap:Ethernet HWaddr 00:16:3E:71:BF:00
inet addr:172.16.36.6 Bcast:172.16.37.255 Mask:255.255.254.0
inet6 addr: fe80::216:3eff:fe71:bf00/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:139631024 errors:0 dropped:0 overruns:0 frame:0
TX packets:109679733 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:140103975645 (130.4 GiB) TX bytes:16372756748 (15.2
GiB)
eth1 Link encap:Ethernet HWaddr 00:16:3E:71:BF:01
inet addr:192.168.11.251 Bcast:192.168.11.255
Mask:255.255.255.0
inet6 addr: fe80::216:3eff:fe71:bf01/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:91204221 errors:0 dropped:0 overruns:0 frame:0
TX packets:107421417 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:17059289980 (15.8 GiB) TX bytes:111279820520 (103.6
GiB)
eth2 Link encap:Ethernet HWaddr 00:16:3E:71:BF:02
inet addr:192.168.21.251 Bcast:192.168.21.255
Mask:255.255.255.0
inet6 addr: fe80::216:3eff:fe71:bf02/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:33215256 errors:0 dropped:0 overruns:0 frame:0
TX packets:37682273 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:5891016864 (5.4 GiB) TX bytes:34440329525 (32.0 GiB)
If you need more informations, please let me know.
Thanks in advance,
Marcos Iuato
shishir at subisu.net.np escreveu:
> Hi,
> do you have any single computer/network with DHCP client on ?
>
> also if you are using static IP in your network why do you need to run
> DHCP server ?
>
> can u explain your network ...that are in eth1 and eth2 ?
>
> shishir
>
>
>>Hi,
>>
>>Some computers are not booting becouse its occuring an error that dhcp
>>is logging "no free leases" but all terminals are configured with static
>>ip.
>>
>>dhcp config:
>>
>>default-lease-time 600;
>>max-lease-time 7200;
>>
>>subnet 192.168.11.0 netmask 255.255.255.0 {
>> option subnet-mask 255.255.255.0;
>> option broadcast-address 192.168.11.255;
>> option routers 192.168.11.251;
>> option domain-name-servers 192.168.11.251;
>> option domain-name "vlan2";
>>
>> filename "/pxelinux.0";
>>
>> group {
>>
>> # Host Terminal:vlan2:47
>> host 192.168.21.120 {
>> hardware ethernet 00:13:90:00:F2:0F;
>> fixed-address 192.168.11.120;
>> }
>>
>>}
>>
>>The dhcp log shows:
>>
>>Sep 1 11:17:58 gerenciador dhcpd: DHCPREQUEST for 192.168.21.42
>>(192.168.21.251) from 00:13:90:00:f2:6b via eth2
>>Sep 1 11:17:58 gerenciador dhcpd: DHCPACK on 192.168.21.42 to
>>00:13:90:00:f2:6b via eth2
>>Sep 1 11:19:28 gerenciador dhcpd: DHCPDISCOVER from 00:13:90:00:f2:0f
>>via eth2: network 192.168.21/24: no free leases
>>Sep 1 11:19:42 gerenciador last message repeated 3 times
>>Sep 1 11:20:54 gerenciador last message repeated 4 times
>>Sep 1 11:21:35 gerenciador last message repeated 5 times
>>Sep 1 11:25:14 gerenciador dhcpd: DHCPDISCOVER from 00:13:90:00:f2:48
>>via eth1: network 192.168.11/24: no free leases
>>Sep 1 11:25:54 gerenciador last message repeated 4 times
>>Sep 1 11:26:02 gerenciador dhcpd: DHCPDISCOVER from 00:13:90:00:f2:48
>>via eth1: network 192.168.11/24: no free leases
>>Sep 1 11:27:58 gerenciador last message repeated 7 times
>>Sep 1 11:28:06 gerenciador dhcpd: DHCPDISCOVER from 00:13:90:00:f2:48
>>via eth1: network 192.168.11/24: no free leases
>>Sep 1 11:29:29 gerenciador dhcpd: DHCPDISCOVER from 00:13:90:00:f2:0f
>>via eth2: network 192.168.21/24: no free leases
>>Sep 1 11:29:43 gerenciador last message repeated 3 times
>>Sep 1 11:30:50 gerenciador last message repeated 7 times
>>Sep 1 11:31:31 gerenciador last message repeated 4 times
>>Sep 1 11:36:51 gerenciador dhcpd: DHCPDISCOVER from 00:13:90:00:f2:21
>>via eth1
>>
>>Packets installed:
>>
>>ii dhcp-client 2.0pl5-19.4
>>ii dhcp3-common 3.0.4-6
>>ii dhcp3-server 3.0.4-6
>>
>>The file /var/lib/dhcp3/dhcpd.leases is empty.
>>
>>Can someone help me with this problem?
>>
>>Thanks in advance.
>>Marcos Iuato
>>
>>
>
>
>
>
More information about the dhcp-users
mailing list