Hi:
My configuration has the dhcp-server on one box, and the nfs/tftp
on another box.
Some of my boxen boot just fine via pxelinux.0, but others never
obtain the correct tftp ip. They try to use 127.0.0.1 as the
tftp server address, and the requests end up at my lan gateway.
My dhcpd config looks as follows (am I just missing something
obvious?):
## dhcpd.conf
authoritative;
ddns-update-style none;
allow booting;
allow bootp;
get-lease-hostnames true;
ping-check true;
DHCPD_INTERFACE = "eth1";
if substring (option dhcp-client-identifier, 0, 4) = "RAS" {
deny booting;
}
server-identifier abraham;
default-lease-time 360;
max-lease-time 3600;
option domain-name "displayworksinc.com";
option domain-name-servers 192.168.6.16, 192.168.6.19;
option host-name "abraham";
option routers 192.168.6.1;
option subnet-mask 255.255.255.0;
option broadcast-address 192.168.6.255;
option netbios-name-servers 192.168.6.16;
option root-path "192.168.6.19:/opt/ltsp/i386";
option option-128 code 128 = string;
option option-129 code 129 = text;
# Definition of PXE-specific options
# Code 1: Multicast IP address of bootfile
# Code 2: UDP port that client should monitor for MTFTP responses
# Code 3: UDP port that MTFTP servers are using to listen for MTFTP requests
# Code 4: Number of secondes a client must listen for activity before trying
# to start a new MTFTP transfer
# Code 5: Number of secondes a client must listen before trying to restart
# a MTFTP transfer
option space PXE;
option PXE.mtftp-ip code 1 = ip-address;
option PXE.mtftp-cport code 2 = unsigned integer 16;
option PXE.mtftp-sport code 3 = unsigned integer 16;
option PXE.mtftp-tmout code 4 = unsigned integer 8;
option PXE.mtftp-delay code 5 = unsigned integer 8;
option PXE.discovery-control code 6 = unsigned integer 8;
option PXE.discovery-mcast-addr code 7 = ip-address;
class "Etherboot" {
match if substring (option vendor-class-identifier, 0, 13) =
"Etherboot-5.0";
filename "nbgrub";
option vendor-encapsulated-options 3c:09:45:74:68:65:72:62:6f:6f:74:ff;
option vendor-class-identifier "Etherboot-5.0";
vendor-option-space PXE;
option PXE.mtftp-ip 0.0.0.0;
next-server 192.168.6.19;
}
class "PXE" {
match if substring(option vendor-class-identifier, 0, 9) = "PXEClient";
#filename "/PXEClient/pxegrub";
filename "pxelinux.0";
option vendor-class-identifier "PXEClient";
vendor-option-space PXE;
option PXE.mtftp-ip 0.0.0.0;
use-host-decl-names on;
option log-servers 192.168.6.19;
next-server 192.168.6.19;
}
class "known" {
match hardware;
one-lease-per-client on;
ddns-updates on;
ddns-domainname = "displayworksinc.com";
ddns-hostname = pick-first-value(ddns-hostname, option host-name);
option fqdn.no-client-update on;
set vendor_class_identifier = option vendor-class-identifier;
}
shared-network "mynetwork" {
subnet 192.168.6.0 netmask 255.255.255.0 {
option subnet-mask 255.255.255.0;
option routers 192.168.6.1;
default-lease-time 28800;
max-lease-time 86400;
pool {
range 192.168.6.176 192.168.6.254;
deny members of "PXE";
deny members of "Etherboot";
}
pool {
range 192.168.6.128 192.168.6.175;
allow members of "PXE";
deny members of "known";
allow members of "Etherboot";
host ws001z6 {
hardware ethernet 00:08:c7:fc:27:58;
fixed-address ws001z6;
option host-name "ws001z6";
}
host ws002z6 {
hardware ethernet 00:80:5f:0f:50:4c;
fixed-address ws002z6;
option host-name "ws002z6";
}
host ws003z6 {
hardware ethernet 00:c0:4f:6e:5f:55;
fixed-address ws003z6;
option host-name "ws003z6";
}
host ws004z6 {
hardware ethernet 00:08:c7:90:78:b7;
fixed-address ws004z6;
option host-name "ws004z6";
} host ws005z6 {
hardware ethernet 00:80:c7:fc:27:58;
fixed-address ws005z6;
option host-name "ws005z6";
}
host ws006z6 {
hardware ethernet 00:80:5f:0f:50:67;
fixed-address ws006z6;
option host-name "ws006z6";
}
host ws007z6 {
hardware ethernet 00:80:5f:8f:92:de;
fixed-address ws007z6;
option host-name "ws007z6";
}
}
}
}
-------------------------------------------------------
This SF.net email is sponsored by: Microsoft Visual Studio.NET
comprehensive development tool, built to increase your
productivity. Try a free online hosted session at:
http://ads.sourceforge.net/cgi-bin/redirect.pl?micr0003en
_____________________________________________________________________
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
