Hi Remi, Yes, its possible to specify a range in your dhcpd.conf and have the workstations get the next available IP address. Just make sure that each IP you have in the range is either listed in /etc/hosts or in DNS. My machine is down for an upgrade but I could send you the dhcpd.conf if you are interested. The lts.conf can be set up with all the required options under [default].
---Venkat. Remi BERNHARD ([EMAIL PROTECTED]) wrote: > Thanks for your "explain-ful" mail, mat. > But here's my situation : I have lots of workstation that are exactly the > same (we had in our school 2 rooms with the very same PC). Then I wonder if > it's possible to define an IP Range adress to set my ltsp workstations Ip > adress. > > I know it's possible to define a mac adress for each workstation, but as > they are the same, I just wonder if there is a simplier solution. > > Regards, > Remi. > > > At 09:06 05/06/02 -0500, you wrote: > >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 > _______________________________________________________________ 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