[K12OSN] DHCPD.CONF, need help to fill it in !
Petre Scheie
petre at maltzen.net
Tue Jan 30 15:37:31 UTC 2007
I see a few problems. Is 192.168.0.10 being assigned to eth1 by your upstream DHCP
server? Or did you assign that manually? Or is this the address you're using on eth0,
the interface for the clients? In either case, having both eth0 and eth1 on the
192.168.0 subnet will probably cause problems. This can be fixed by changing the subnet
used for the thin clients on eth0, but please clarify before we get into that.
Gateway should not be 255.255.255.0; that's the broadcast address. The gateway address
should be the address of the next device along the path to the internet, and is
frequently the same address as the DHCP server that gives your server an address on eth1.
DNS is usually set to the LTSP server, so at least what you've got is consistent. But
please answer the above questions first.
Petre
Jordy Minnebo wrote:
> My ip adress of the server = 192.168.0.10 <http://192.168.0.10>
> Gateway = 255.255.255.0 <http://255.255.255.0>
> Hostname = I dont have a clue --> i took default
> DNS = 192.168.0.10 <http://192.168.0.10>
>
> So can somebody fill it in because I dont understand it.
>
>
>
> allow booting;
> allow bootp;
> ddns-update-style none;
>
> default-lease-time 21600;
> max-lease-time 21600;
>
> option subnet-mask 255.255.255.0 <http://255.255.255.0>;
> option broadcast-address 192.168.0.255 <http://192.168.0.255>;
> option routers 192.168.0.1 <http://192.168.0.1>;
> option domain-name-servers 192.168.0.1 <http://192.168.0.1>;
> option domain-name "server.be <http://server.be>"; #
> <--Fix this domain name
> next-server 192.168.0.1 <http://192.168.0.1>;
> option root-path "192.168.0.1:/opt/ltsp/i386";
>
> option option-128 code 128 = string;
> option option-129 code 129 = text;
>
> subnet 192.168.0.0 <http://192.168.0.0> netmask 255.255.255.0
> <http://255.255.255.0> {
> use-host-decl-names on;
> option log-servers 192.168.0.1 <http://192.168.0.1>;
>
>
> ##
> ## If you want to use static IP address for your workstations, then
> un-comment
> ## the following section and modify to suit your network.
> ## Then, duplicate this section for each workstation that needs a static
> ## IP address.
> ##
> host ws001 {
> hardware ethernet 44:4D:50:E1:15:A6;
> fixed-address 192.168.0.2 <http://192.168.0.2>;
> filename "/lts/2.6.9-ltsp-3/pxelinux.0";
> }
>
> ##
> ## If you want to use a dynamic pool of addresses, then un-comment the
> following
> ## lines and modify to match your network.
> ##
> ## subnet 192.168.0.0 <http://192.168.0.0> netmask 255.255.255.0
> <http://255.255.255.0> {
> ## range dynamic-bootp 192.168.0.1 <http://192.168.0.1>
> 192.168.0.253 <http://192.168.0.253>;
> ## }
> ##
>
> }
>
> #
> # If you need to pass parameters on the kernel command line, you can
> # do it with option-129. In order for Etherboot to look at option-129,
> # you MUST have option-128 set to a specific value. The value is a
> # special Etherboot signature of 'e4:45:74:68:00:00'.
> #
> # Add these two lines to the host entry that needs kernel parameters
> #
> # option option-128 e4:45:74:68:00:00; # NOT a mac address
> # option option-129 "NIC=ne IO=0x300";
> #
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> K12OSN mailing list
> K12OSN at redhat.com
> https://www.redhat.com/mailman/listinfo/k12osn
> For more info see <http://www.k12os.org>
More information about the K12OSN
mailing list