--- [EMAIL PROTECTED] a �crit : > On Wed, 14 Jan 2004,
[EMAIL PROTECTED] wrote:
[cut]
> 
>             use-host-decl-names       on;
> 
> 
> If you are doing a range of addresses, then I don't know of any
> way to hand the hostname back to the workstation.
> 
> Jim

one way to handle hostnames to the clients while managing range of IPs
is to have a "host-name" option with dynamicaly generated hostnames.
here's and example I am using:

use-host-decl-names       on;
option host-name =
concat("ws",binary-to-ascii(10,8,"",substring(leased-address,3,1)));

This will generate a hostname wich is a concatination of "ws" and the
last byte (rightmost) of the client IP. you need to have your
/etc/hosts containing all the hostnames with the corresponding IP.

Have fun.

Khalil FOUNDY


_________________________________________________________________
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en fran�ais !
Yahoo! Mail : http://fr.mail.yahoo.com


-------------------------------------------------------
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
_____________________________________________________________________
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