Am Mittwoch, den 25.05.2005, 23:46 +0200 schrieb Ragnar Wisloff:
> I'm observing a puzzling problem. It seems that the DHCP request sent 
> out by the thin client is subtly different the first and second time 
> (two DHCP requests are sent during a single boot). The second DHCP 
> request contains more information, and the DHCPD server sees this as a 
> different request. Even if the MAC address is the same, they have 
> different uids and so a different IP is handed out. These two stanzas 
> from a leases file shows this behaviour:
> 
> lease 192.168.199.153 {
>    starts 3 2005/05/25 09:56:32;
>    ends 4 2005/05/26 09:56:32;
>    tstp 4 2005/05/26 09:56:32;
>    binding state active;
>    next binding state free;
>    hardware ethernet 00:50:8b:50:c1:85;
> }
> lease 192.168.199.245 {
>    starts 3 2005/05/25 09:56:43;
>    ends 4 2005/05/26 09:56:43;
>    tstp 4 2005/05/26 09:56:43;
>    binding state active;
>    next binding state free;
>    hardware ethernet 00:50:8b:50:c1:85;
>    uid "\001\000P\213P\301\205";

The obvious difference is the existence of a "uid" in the second (LTSP
initrd's) dhcp request. I never noticed that phenomenon before...
Perhaps someone knows where those uids come from. However you should be
free to arrange an IP-saving setup at least as workaround, with a
dhcpd.conf "switch" that picks all requests without uid to have a real
short lifetime. 120 seconds should be enough by far. Alternatively, you
could have a look into the initrd scripts for the reasons for that "uid"
request. Someone probably had good reasons to use that!?

I'm not sure about your setups, but using 172.16.0.0/16 ...
172.31.0.0/16 networks guarantesse lots of IPs to be available. I prefer
using those for any network that might eventually grow over 100 hosts.
Besides, 10.0.0.0/8 gives even more adress space.

Regards,

Anselm



-------------------------------------------------------
SF.Net email is sponsored by: GoToMeeting - the easiest way to collaborate
online with coworkers and clients while avoiding the high cost of travel and
communications. There is no equipment to buy and you can meet as often as
you want. Try it free.http://ads.osdn.com/?ad_id=7402&alloc_id=16135&op=click
_____________________________________________________________________
Ltsp-discuss mailing list.   To un-subscribe, or change prefs, goto:
      https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help,   try #ltsp channel on irc.freenode.net

Reply via email to