All pastes #920932 Raw Edit

Mighty d

public text v1 · immutable
#920932 ·published 2008-02-27 18:39 UTC
rendered paste body
# dhcpd.conf

authoritative;
#one-lease-per-client on;
#default-lease-time 604800;
#max-lease-time 604800;

# DYNAMIC DNS SUPPORT IS COMMENTED FOR NOW
ddns-update-style interim;
#ddns-updates on;
#ddns-domainname "jmoraing.com"
get-lease-hostnames           true; #le pide que busque primero si ya tiene un nombre en el servidor

option subnet-mask            255.255.255.0;
option broadcast-address      192.168.2.255;
#option routers                192.168.2.1;
option domain-name-servers    200.124.168.11, 200.124.168.12; #SE DEBE CAMBIAR CUANDO TENGAMOS EL SERVICIO DE NAMED SEPARADOS POR COMMA
option domain-name            "ltsp.jmoraing.com";   # You really should fix this
option option-128 code 128 = string;
option option-129 code 129 = text;
next-server                   192.168.2.1;
option root-path              "192.168.2.1:/opt/ltsp/i386";


subnet 192.168.2.0 netmask 255.255.255.0 {
    range   192.168.2.100   192.168.2.199;
    if substring (option vendor-class-identifier, 0, 9) = "PXEClient" {
        filename "/tftpboot/lts/2.6.16.1-ltsp-2/pxelinux.0";
    }
    else{
        filename "/tftpboot/lts/vmlinuz-2.6.16.1-ltsp-1";
    }
}
#
# 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";
#


        # PENTIUM MMX (VIEJITO)
        host PMMX01 {
                hardware ethernet 00:C0:A8:7A:F6:5A;
                fixed-address     192.168.2.2;
                use-host-decl-names         on;
                filename "/tftpboot/lts/vmlinuz-2.6.16.1-ltsp-1";
        }

         host ws003 {
                hardware ethernet 00:0B:6A:72:89:9C;
                fixed-address     192.168.2.3;
                use-host-decl-names         on;
                filename "/tftpboot/lts/2.6.16.1-ltsp-2/pxelinux.0";
         }
        # PENTIUM MMX (EL NUMERO DOS)
         host PMMX02 {
                hardware ethernet 00:50:BF:0F:B5:F6;
                fixed-address     192.168.2.4;
                use-host-decl-names         on;
                filename "/tftpboot/lts/vmlinuz-2.6.16.1-ltsp-1";
        }
        # COMPUTADOR DE MARIA EUGENIA
        host mchicav {
                hardware ethernet 00:15:C5:BE:13:B0;
                fixed-address   192.168.2.5;
                use-host-decl-names     on;
                filename "/tftpboot/lts/2.6.16.1-ltsp-2/pxelinux.0";
        }
        # REALTEK - CHRISTIAN PRESARIO
        host PRESARIO {
                hardware ethernet 00:E0:7D:DF:2B:28;
                fixed-address   192.168.2.6;
                use-host-decl-names     on;
                filename "/tftpboot/lts/vmlinuz-2.6.16.1-ltsp-1";
        }
        # COMPUTADOR ALVAROJAIMES
        host SEMPRON {
                hardware ethernet 00:14:2A:A5:F1:D2;
                fixed-address     192.168.2.7;
                use-host-decl-names        on;
                filename  "/tftpboot/lts/2.6.16.1-ltsp-2/pxelinux.0";
        }
        # TAJETA INTEL CON EPROM DELL
        host DELL {
                hardware ethernet 00:07:E9:07:A2:59;
                fixed-address     192.168.2.8;
                use-host-decl-names        on;
                filename  "/tftpboot/lts/2.6.16.1-ltsp-2/pxelinux.0";
        }