All pastes #515104 Raw Edit

sahil

public text v1 · immutable
#515104 ·published 2007-05-28 01:44 UTC
rendered paste body
# dhcpd.conf

ddns-update-style             ad-hoc;

option subnet-mask            255.255.0.0;
option broadcast-address      169.254.255.255;
option routers                169.254.3.14;
option domain-name-servers    169.254.3.14;
option domain-name            "your_domain.org";   # You really should fix this
option option-128 code 128 = string;
option option-129 code 129 = text;


get-lease-hostnames           true;

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

subnet 192.168.0.0 netmask 255.255.255.0 {
    range   192.168.0.100   192.168.0.199;
    if substring (option vendor-class-identifier, 0, 9) = "PXEClient" {
        filename "/tftpboot/lts/2.6.16.1-ltsp-1/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";
#