All pastes #675072 Raw Edit

Unnamed

public text v1 · immutable
#675072 ·published 2007-08-29 20:07 UTC
rendered paste body
# dhcpd.conf

ddns-update-style             ad-hoc;

option subnet-mask            255.255.255.0;
option broadcast-address      192.168.1.255;
option routers                192.168.1.1;
option domain-name-servers    192.168.1.1;
option domain-name            "internal.domain.com";   # You really should fix this
option option-128 code 128 = string;
option option-129 code 129 = text;

option option-128  e4:45:74:68:00:00;
option option-129  "MOPTS=nolock,ro,wsize=2048,rsize=2048";




get-lease-hostnames           true;

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

subnet 192.168.1.0 netmask 255.255.255.0 {
    range   192.168.1.100   192.168.1.199;
    if substring (option vendor-class-identifier, 0, 9) = "PXEClient" {
        filename "/lts/2.6.17.3-ltsp-1/pxelinux.0";
    }
    else{
        filename "/lts/vmlinuz-2.6.17.3-ltsp-1";
    }

        host dan {
                hardware ethernet 00:0C:6E:50:8F:80;
                fixed-address 192.168.1.111;
        }

        host jtjt {
                hardware ethernet 00:0C:76:1A:28:44;
                fixed-address 192.168.1.120;
        }
}