As a first pass, I have simplified and formatted your dhcpd.conf file, just to make it more manageable for purposes of discussion.
Code: Select all
# Global Parameters
option routers 192.168.2.200;
option subnet-mask 255.255.255.0;
option domain-name "sandpit.100akerwood.net";
option domain-name-servers 192.168.2.200;
option broadcast-address 192.168.2.255;
option root-path "192.168.2.200:/opt/ltsp/i386";
option option-128 code 128 = string;
option option-129 code 129 = text;
default-lease-time 86400;
ddns-update-style ad-hoc;
subnet 192.168.2.0 netmask 255.255.255.0 {
range 192.168.2.101 192.168.2.151;
group {
use-host-decl-names on;
option log-servers 192.168.2.200;
host ws001 {
hardware ethernet 00:90:27:8E:05:67;
fixed-address 192.168.2.101;
filename "/lts/pxelinux.0";
option vendor-encapsulated-options 09:0f:80:00:0c:4e:65:74:77:6f:72:6b:20:62:6f:... ;
}
host ws002 {
hardware ethernet 00:90:27:BE:B6:4E;
fixed-address 192.168.2.102;
filename "/lts/pxelinux.0";
option vendor-encapsulated-options 09:0f:80:00:0c:4e:65:74:77:6f:72:6b:20:62:6f:... ;
}
}
}
Really, now that I am beginning to see how this file is structured, I am less determined to put the second network card in the folding server, and just put the folding clients on the same physical network with the existing Windows machines. Whereas before it seemed logical and even simpler, it's beginning to look more complicated.
Questions:
- Can the common lines from the host sections, filename and option vendow-encapsulated-options, be "factored out" and placed in the group "scope"? I believe they can be, but I won't know until I try.
- Why are fixed IP addresses required for the clients? I have asked this before, and I'm still not convinced it's necessary. Unless they are refered to by host NAME somewhere, then I don't see why a dynamically assigned IP address wouldn't work just as well. It's no big deal to assign one, I just want to know why I'm doing it. BTW, even if they are referred to by name, it should be possible even with dynamically assigned IP addresses. After all, we have named them here in the dhcpd.conf file.
- I'm still trying to determine what that long string of bytes is all about.
- I wonder if DHCP is aware of what is in the /etc/hosts file? For example, if /etc/hosts equates an IP address to 'router', can 'router' be used instead of a specific IP address? Is that what use-host-decl-names does?
- Slightly OT: Will dnsmasq operate as a front-line DNS, such that I can eliminate the hosts files from the Windows machines? I'm guessing yes, but I haven't tried it.
David