On Wed, 28 Nov 2007 20:16:42 +0700, Fajar Priyanto wrote
> Hello all,
> In the network there is already a W2K server serving as DHCP server for the
> network. Then we want to implement LTSP, so we need to setup another DHCP
> server, right?
>
> Due to unexpected reason (little by little migration of w98 clients to LTSP),
> we need to keep the W2K server running in that network. Can we then have 2
> DHCP server in the same subnet, only serving pre-determine clients using mac
> address? Any clue on how to setup the dhcpd.conf?
>
> Thank you very much.
Below is part of how I have my dhcp server set up. This is in bind. I don't
know how
you do it in Windows. Anyhow the top is a general section to say offer to
anyone, the
bottom is a specific section that says only give certain parameters to certain
clients,
and the reject unknown-clients is the part that makes sure it is specific to
only
certain machines. You could probably modify this to get what you want. See the
configuration below the # signs for an example (note the example is not
tested).
Hope that helps,
Jim
authoritative;
# Cotter LAN
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;
}
}
# CHS Learning Center
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 chslc1 {
hardware ethernet 00:1A:4D:2F:77:43;
fixed-address 10.6.252.46;
}
host chslc2 {
hardware ethernet 00:1A:4D:2F:71:C8;
fixed-address 10.6.252.47;
}
}
#######################################################
authoritative;
# Cotter LAN
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 {
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 chslc1 {
hardware ethernet 00:1A:4D:2F:77:43;
fixed-address 10.6.252.46;
}
host chslc2 {
hardware ethernet 00:1A:4D:2F:71:C8;
fixed-address 10.6.252.47;
}
}
--
This message has been scanned for viruses and
dangerous content by the Cotter Technology
Department, and is believed to be clean.
-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell. From the desktop to the data center, Linux is going
mainstream. Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_____________________________________________________________________
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