Hello all,
I took this part of dhcpd.conf from Jim Kronebusch yesterday :)
I have a situation where the LTSP5 clients is located in the same network as 
the non-LTSP clients. Therefore I believe we can use the host declaration 
based on MAC address.

But, I'm sure about the correct syntax. I need to setup DHCP on this case:
Clients are divided into 3 groups:
Group A: 192.168.0.1-192.168.0.10 (Non-LTSP clients)
Group B: 192.168.0.50-192.168.0.60 (Non-LTSP clients, notice the gap of IP 
range from Group A).
Group C: 192.168.0.100-192.168.0.130 (LTSP clients).


This is the quoted dhcpd.conf:

authoritative;

# Main LAN IP Range
subnet 10.6.0.0 netmask 255.255.0.0 {
       option domain-name "winonacotter.org";
       option domain-name-servers 10.6.1.50;
       option routers 10.6.0.1;
       option subnet-mask 255.255.0.0;
       pool {
               allow unknown-clients;
               range 10.6.253.1 10.6.253.255;
               }
       }
# LTSP5 Clients by Mac address
group {
       use-host-decl-names on;
       deny unknown-clients;
       if substring( option vendor-class-identifier , 0 , 9 ) = "PXEClient" {
               filename "/ltsp/i386/pxelinux.0";
               }
       else {
               filename "/ltsp/i386/nbi.img";
               }
       option root-path "/opt/ltsp/i386";
       host chsmain1 {
               hardware ethernet 00:1A:4D:2F:A5:78;
               fixed-address 10.6.252.1;
               } 
      }

Cheers.
-- 
Fajar Priyanto | Reg'd Linux User #327841 | Linux tutorial 
http://linux2.arinet.org
17:04:37 up 5:38, 2.6.20-16-generic GNU/Linux 
Let's use OpenOffice. http://www.openoffice.org

Attachment: pgpmKZei8Rgaz.pgp
Description: PGP signature

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_____________________________________________________________________
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