For LTSP it is only practical to use the mac address so you can map a host
name to it. The host name is then used in your LTS.conf to define specifics
- mouse, modeline etc etc.

You can do like I do though. I have a range setup and then I assign a
specific ip address it will then just pull an IP address from your defined
range. It just worked well for me because I didn't want to keep chopping my
dhcp range down when I added new LTSP clients.

Here is an example of what I have.


authoritative;
default-lease-time 10800;
max-lease-time 36000;
ddns-update-style interim;
option subnet-mask 255.255.255.0;
option broadcast-address 172.25.135.255;
option routers 172.25.135.1;
option domain-name-servers 172.25.2.55 , 172.25.135.93;
option domain-name "artco.com";
option root-path "/tftpboot/lts/ltsroot";
use-host-decl-names on;
option nic-thing code 128 = string;
option nic-type code 129 = text;
#
subnet 172.25.135.0 netmask 255.255.255.0 {
        option netbios-node-type 8;
        option netbios-name-servers 172.25.2.13 , 172.25.2.16;
        option routers 172.25.135.1;
        range 172.25.135.120 172.25.135.138;
        range 172.25.135.147 172.25.135.220;
        range 172.25.135.224 172.25.135.240;
        group {
                use-host-decl-names on;
                option log-servers 172.25.138.93;
                host mbegan {
                        ddns-updates on;
                        ddns-domainname "artco.com";
                        option domain-name-servers 172.25.135.93 ,
172.25.2.55;
                        option routers 172.25.135.1;
                        hardware ethernet 00:06:5B:55:D7:64;
                        fixed-address 172.25.135.92;
                        }
                host lmcbride {
                        ddns-domainname "artco.com";
                        option domain-name-servers 172.25.135.93 ,
172.25.2.55;
                        ddns-updates on;
                        option routers 172.25.135.1;
                        hardware ethernet 00:06:5B:6C:7A:14;
                        fixed-address 172.25.135.98;
                        filename "/lts/vmlinuz.lane";
                        }
                host CarRobot {
                        hardware ethernet 00:06:5B:55:D7:6F;
                        fixed-address 172.25.135.43;
                        }
                host gwklingler3 {
                        hardware ethernet 00:06:5B:55:D7:58;
                        fixed-address 172.25.135.100;
                        }
                host mwjohnson {
                        hardware ethernet 00:06:5b:55:D7:7D;
                        fixed-address 172.25.135.139;
                        }

I have multiple range statements but that has nothing to do with anyting
ltsp. It is just there to work around some other stuff we had in place that
wasn't feasible to change.

Hope it help

Matt

PS
If there is something you are specifically trying to acomplish let us know.
If your just trying to get away from having to enter mac adresses into your
config I think your out of luck (unless all your hardware is exactly the
same)




> -----Original Message-----
> From: Remi BERNHARD [mailto:[EMAIL PROTECTED]] 
> Sent: Wednesday, June 05, 2002 6:55 AM
> To: [EMAIL PROTECTED]
> Subject: [Ltsp-discuss] DHCP with NO Mac adress
> 
> 
> Hi all,
> 
> I wonder if it's possible to make a dhcpd.conf with NO mac 
> adress inside : 
> ie : with only a range of adresses ?
> 
> Regards,
>       Remi.
> 
> 
> _______________________________________________________________
> 
> Don't miss the 2002 Sprint PCS Application Developer's Conference
> August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm
> 
> _____________________________________________________________________
> 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
> 

_______________________________________________________________

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm

_____________________________________________________________________
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

Reply via email to