Dhcpd.conf

מתוך organicwiki
קפיצה אל: ניווט, חיפוש
  1. Sample configuration file for ISC dhcpd
  2. Make changes to this file and copy it to /etc/dhcpd.conf.sample

ddns-update-style none;

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

option subnet-mask 255.255.255.0; option broadcast-address 192.168.10.255; option routers 192.168.10.110; option domain-name-servers 192.168.10.110; option domain-name "server.ltsp";

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

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

subnet 192.168.10.0 netmask 255.255.255.0 {

   use-host-decl-names      on;
   option log-servers       192.168.10.110;
  1. range dynamic-bootp 192.168.10.1 192.168.10.33;
  1. filename "/lts/vmlinuz-2.4.26-ltsp-3";

filename "/lts/vmlinuz-2.6.9-ltsp-3";

    1. If you want to use static IP address for your workstations, then un-comment
    2. the following section and modify to suit your network.
    3. Then, duplicate this section for each workstation that needs a static
    4. IP address.
   host ws022 {
       hardware ethernet    00:e0:4c:00:75:bf;
       fixed-address        192.168.10.22;

}

   host ws021 {
       hardware ethernet    00:e0:4c:09:42:96;
       fixed-address        192.168.10.21;

}

   host ws020 {
       hardware ethernet    00:e0:4c:09:42:33;
       fixed-address        192.168.10.20;

}

   host ws019 {
       hardware ethernet    00:e0:4c:10:9f:4d;
       fixed-address        192.168.10.19;

}

   host ws018 {
       hardware ethernet    00:e0:4c:00:75:62;
       fixed-address        192.168.10.18;

}

   host ws017 {
       hardware ethernet    00:e0:4c:09:42:34;
       fixed-address        192.168.10.17;

}

   host ws016 {
       hardware ethernet    00:e0:4c:2c:2f:8f;
       fixed-address        192.168.10.16;

}

   host ws015 {
       hardware ethernet    00:e0:4c:00:75:dc;
       fixed-address        192.168.10.15;

}

   host ws014 {
       hardware ethernet    00:e0:4c:2c:2e:ce;
       fixed-address        192.168.10.14;

}

   host ws013 {
       hardware ethernet    00:e0:4c:2c:2f:00;
       fixed-address        192.168.10.13;

}

   host ws012 {
       hardware ethernet    00:e0:4c:00:75:6e;
       fixed-address        192.168.10.12;

}

   host ws011 {
       hardware ethernet    00:e0:4c:00:75:72;
       fixed-address        192.168.10.11;

}

   host ws010 {
       hardware ethernet    00:e0:4c:10:a1:0a;
       fixed-address        192.168.10.10;

}

   host ws009 {
       hardware ethernet    00:e0:4c:00:75:b8;
       fixed-address        192.168.10.9;

}

   host ws008 {
       hardware ethernet    00:e0:4c:1c:28:fc;
       fixed-address        192.168.10.8;

}

   host ws007 {
       hardware ethernet    00:e0:4c:10:9f:4d;
       fixed-address        192.168.10.7;

}

   host ws006 {
       hardware ethernet    00:e0:4c:00:75:63;
       fixed-address        192.168.10.6;

}

   host ws005 {
       hardware ethernet    00:e0:4c:25:90:c3;
       fixed-address        192.168.10.5;

}

   host ws004 {
       hardware ethernet    00:e0:4c:2c:2f:ec;
       fixed-address        192.168.10.4;

}

   host ws003 {
       hardware ethernet    00:e0:4c:09:42:0f;
       fixed-address        192.168.10.3;

}

   host ws002 {
       hardware ethernet    00:e0:4c:2c:2f:bc;
       fixed-address        192.168.10.2;

filename "/lts/vmlinuz-2.4.26-ltsp-3"; }

   host ws001 {
       hardware ethernet    00:e0:4c:15:97:64;
       fixed-address        192.168.10.1;

}

#filename "/lts/vmlinuz-2.4.26-ltsp-3"; #filename "/lts/vmlinuz-2.6.9-ltsp-3"; #option option-128 e4:45:74:68:00:00; #option option-129 "quiet";

# boot splash kernel

       #filename             "/lts/vmlinuz-splash-2.6.9-ltsp-1";

#option option-128 e4:45:74:68:00:00; #option option-129 "quite vga=773"; #option option-129 "splash=silent vga=773";


    1. If you want to use a dynamic pool of addresses, then un-comment the following
    2. lines and modify to match your network.
  1. subnet 192.168.0.0 netmask 255.255.255.0 {
  2. range dynamic-bootp 192.168.10.1 192.168.10.53;
  3. }

}

  1. If you need to pass parameters on the kernel command line, you can
  2. do it with option-129. In order for Etherboot to look at option-129,
  3. you MUST have option-128 set to a specific value. The value is a
  4. special Etherboot signature of 'e4:45:74:68:00:00'.
  5. Add these two lines to the host entry that needs kernel parameters
  6. option option-128 e4:45:74:68:00:00; # NOT a mac address
  7. option option-129 "NIC=ne IO=0x300";
כלים אישיים
גרסאות שפה
מרחבי שם
פעולות
ניווט
תיבת כלים