Haakon Nilsen wrote:
> I didn't copy it, but today on one of the times the problems occurred, I
> ran dhclient, got an error about problems parsing the leases file (!)
Now I got this:
$ dhclient ra0
Internet Systems Consortium DHCP Client V3.0.1
Copyright 2004 Internet Systems Consortium.
All rights reserved.
For info, please visit
http://www.isc.org/products/DHCP
sit0: unknown hardware address type 776
/var/lib/dhcp3/dhclient.leases line 65: expecting lease declaration.
lease
^
/var/lib/dhcp3/dhclient.leases line 77: expecting semicolon.
^
/var/lib/dhcp3/dhclient.leases line 77: unterminated lease declaration.
^
sit0: unknown hardware address type 776
And it's no wonder. Here's the relevant part of the file:
lease {
interface "ra0";
fixed-address 192.168.1.100;
option subnet-mask 255.255.255.0;
option routers 192.168.1.1;
option dhcp-lease-time 345600;
option dhcp-message-type 5;
option domain-name-servers 217.13.4.24,217.13.7.140;
option dhcp-server-identifier 192.168.1.1;
renew 5 2005/9/16 14:31:43;
rebind 0 2005/9/18 04:58:29;
expire 0 2005/9/18 16:58:29;
lease {
interface "ra0";
fixed-address 192.168.1.101;
option subnet-mask 255.255.255.0;
option routers 192.168.1.1;
option dhcp-lease-time 345600;
option dhcp-message-type 5;
option domain-name-servers 217.13.4.24,217.13.7.140;
option dhcp-server-identifier 192.168.1.1;
renew 5 2005/9/16 09:32:19;
rebind 0 2005/9/18 05:28:28;
expire 0 2005/9/18 17:28:28;
}
It seems the first block hasn't been closed properly. Anyway, this may be
just a bug with my DHCP client and not related to the problem.
> Anyway, due to earlier problems resulting in packet loss due to BitTorrent
> draining the router of memory (now fixed), I set up QoS for various
> services in an attempt to fix things. I now added DHCP as a "premium"
> service just in case (it was on its default "normal" before). I hope that
> helps, but I'll just have to wait and see (the horrible suspense!).
This did not help.