All pastes #347846 Raw Edit

dhc

public text v1 · immutable
·published 2007-02-09 19:16 UTC
rendered paste body
# dhcpd.conf

ddns-update-style             ad-hoc;

option subnet-mask            255.255.255.0;
option broadcast-address      192.168.0.255;
option routers                192.168.0.254; #1
option domain-name-servers    192.168.0.254; #1
option domain-name            "compuevolcion.homeunix.org";   # You really should fix this
option option-128 code 128 = string;
option option-129 code 129 = text;


get-lease-hostnames           true;

next-server                   192.168.0.1;
option root-path              "192.168.0.1:/opt/ltsp/i386";

subnet 192.168.0.0 netmask 255.255.255.0 {
    range   192.168.0.2   192.168.0.200;

    if substring (option vendor-class-identifier, 0, 9) = "PXEClient" {
        filename "/var/lib/tftpboot/2.6.17.8-ltsp-1/";
    }
	else{
        filename "/var/lib/tftpboot/vmlinuz-2.6.17.8-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";
#