[K12OSN] Re: sample dhcpd.conf needed -- and a question
Bimal Pandit
bimal.pandit at indoasian.com
Wed Feb 9 12:07:46 UTC 2005
Dear Rob,
------ SNIP -------
the terminal never finds the dhcp server, but knoppix does manage to get
an IP address from it
------ SNIP -------
seems that your DHCP server is working but need to see why your clients
are not getting it.
1) Network connection(Cable,switch/hub)
2) Lan Card
3) Bootable image
anyway am sending you my dhcpd.conf and hosts, if it helps anyway.
regards,
Bimal Pandit
-------------- next part --------------
/etc/dhcpd.conf
---------------
# Sample configuration file for ISCD dhcpd
#
# Don't forget to set run_dhcpd=1 in /etc/init.d/dhcpd
# once you adjusted this file and copied it to /etc/dhcpd.conf.
#
default-lease-time 21600;
max-lease-time 21600;
ddns-update-style none;
allow booting;
allow bootp;
option subnet-mask 255.255.255.0;
option broadcast-address 10.0.1.255;
option routers 10.0.1.1;
option domain-name-servers 10.0.1.3;
option domain-name "ltsp";
option root-path "10.0.1.3:/opt/ltsp/i386";
option option-128 code 128 = string;
option option-129 code 129 = text;
shared-network WORKSTATIONS {
subnet 10.0.1.0 netmask 255.255.255.0 {
range dynamic-bootp 10.0.1.51 10.0.1.100;
use-host-decl-names on;
option log-servers 10.0.1.3;
# trick from Peter Rundle <peter.rundle at au.interpath.net>
if substring (option vendor-class-identifier, 0, 9) = "PXEClient"
{
filename "/lts/pxe/pxelinux.bin";
# NOTE: kernels are specified in /tftpboot/lts/pxe/pxelinux.cfg/
}
else
{
filename "/lts/vmlinuz.ltsp";
}
}
}
# example configurations for specifying specific kernels to specific clients
group {
use-host-decl-names on;
option log-servers 10.0.1.3;
host ltspA51 {
# NODE :- WS001
hardware ethernet 00:0B:A1:56:91:E9;
fixed-address 10.0.1.51;
filename "/lts/vmlinuz.ltsp";
}
host ltspA52 {
# NODE :- WS002
hardware ethernet 00:0B:48:72:D3:33;
fixed-address 10.0.1.52;
filename "/lts/vmlinuz.ltsp";
}
host ltspA53 {
# NODE :- WS003
hardware ethernet 00:0B:48:82:A6:91;
fixed-address 10.0.1.53;
filename "/lts/vmlinuz.ltsp";
}
}
/etc/hosts
----------
ltspA51 10.0.1.51
ltspA52 10.0.1.52
ltspA53 10.0.1.53
More information about the K12OSN
mailing list