|
From: Dick M. <di...@fo...> - 2008-05-23 19:20:59
|
Chris HATCH wrote:
>
> If I boot up DevilLinux on the pc that as acting as a DHCP server and
> immediately have workstations power up they get a lease no problem. If
> DL is running for awhile and a workstation powers up or reboots they
> usually don't get a lease.
It's not obvious what's wrong but your range is misconfigured (or there's a typo
in your email):
> subnet 192.168.0.0 netmask 255.255.255.0 {
> option domain-name-servers X.X.X.X;
> option routers Y.Y.Y.Y;
> option broadcast-address 192.168.0.255;
> range 192.168.0.100 192.168.0.1
range [ dynamic-bootp ] low-address [ high-address];
It could also be there is another dhcp server appearing on the net and confusing
things. Does one of your workstations run dhcp perhaps?
The lease itself is for 10 days but the
> workstation will not have a valid address on the network if the DL pc is
> down.
If there is no dhcp server then what happens depends on the client. Some
clients allocate an address in the 169 range for example and some continue to
use the old address and some just don't ...
> When I look for the lease file I see two in /etc/ dhcpd.leases and
> dhcpd.leases~
> dhcpd.leases has -rw-r--r--
> dhcpd.leases~ has -rwxrwxrwx
I don't know why the permissions are different. What happens if you delete
dhcpd.leases~ ? It should get recreated.
Dick
|