Hello Ragnar,
Wednesday, November 20, 2002, 10:15:39 PM, you wrote:
> onsdag 20. november 2002, 20:49 skrev du :
>> Hello Ragnar & list,
>> Then, for these dynamic clients, you could specify a hostname
>> inside that subnet statement where "range" is, using the dhcp3
>> scripting facility, so that a hostname is dynamically created
>> matching the ip-address.... I have done that before, but it has been
>> a while. If you need a help on this, I could give in quarter an hour
>> and dig out the old stuff. But no chance before the weekend, and even
>> then:-/
> This sounds interesting, but available in v3 only?
I think so. Sure it's not in woody? I'd thought we had it from the
debian.org mirrors, with apt-get install dhcpv3 or so.
It's worth it.
You need a single little statement in your
subnet {
[...]
}
area like this
ddns-hostname =
concat("klient-",binary-to-ascii(10,8,"-",substring(leased-address,2,2)));
which will take the last two octets of the client's dynamically
assigned IP-address and forms a hostname like "klient-0-205" (for your
setup, one of the dyn addresses IIRC).
Could be that 0 is dropped out, so "klient--205" would be built (but I
leave reading the documentation, man dhcp-options, to you) - and you
see how to do it, don't you?
Best regards,
Anselm Martin Hoffmeister
Stockholm Projekt Computer-Service
<[EMAIL PROTECTED]>
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_____________________________________________________________________
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.openprojects.net