Käyttäjän työkalut

Sivuston työkalut


ltsp.dhcp

dhcpd.conf

#
# Sample configuration file for ISC dhcpd
#
# Make changes to this file and copy it to /etc/dhcp3/dhcpd.conf
#

ddns-update-style            none;

default-lease-time           21600;
max-lease-time               21600;

option subnet-mask           255.255.255.0;
option broadcast-address     10.0.0.255;
option routers               10.0.0.1;
option domain-name-servers   10.0.0.1;
option domain-name           "ltsp";       

option root-path             "10.0.0.1:/opt/ltsp/i386";

option option-128 code 128 = string;
option option-129 code 129 = text;

subnet 10.0.0.0 netmask 255.255.255.0 {
    use-host-decl-names      on;
    option log-servers       10.0.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 ws005 {                     
        hardware ethernet    00:10:B5:96:6D:41;  
        fixed-address        10.0.0.5;   
        filename             "/lts/2.6.16.1-ltsp-2/pxelinux.0";
    }


host ws006 {
        hardware ethernet    00:E0:29:1D:43:15;
        fixed-address        10.0.0.6;
        filename             "/lts/2.6.16.1-ltsp-2/pxelinux.0";
    }

host ws007 {
        hardware ethernet    00:30:05:18:79:54;
        fixed-address        10.0.0.7;
        filename             "/lts/2.6.16.1-ltsp-2/pxelinux.0";
    }

host ws008 {
        hardware ethernet    00:E0:29:1D:9C:AF;
        fixed-address        10.0.0.8;
        filename             "/lts/2.6.16.1-ltsp-2/pxelinux.0";
    }

host ws009 {
        hardware ethernet    00:0F:FE:A6:1A:25;
        fixed-address        10.0.0.9;
        filename             "/lts/2.6.16.1-ltsp-2/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 netmask 255.255.255.0 {
##        range dynamic-bootp 192.168.0.1 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";
#
#option option-128  e4:45:74:68:00:00;
#option option-129  "MOPTS=nolock,ro,wsize=2048,rsize=2048";

Mac-osoiteet on sinun muutettava vastaamaan omia asiaakaskoneitasi!

Sen voit tehdä käynnistämällä asiakaskoneet Live-cd:llä esim. Knoppix ja ajamalla käsky: ifconfig

eth0 Link encap:Ethernet HWaddr 00:15:60:A3:8B:E9 ← mac-osoite

ltsp.dhcp.txt · Viimeksi muutettu: 2015/08/13 04:20 (ulkoinen muokkaus)