All pastes #491181 Raw Edit

Miscellany

public text v1 · immutable
·published 2007-05-16 14:07 UTC
rendered paste body
# Global defaults
not authoritative;                              # only primary servers use authoritative
default-lease-time              28800;          # 8 hours
max-lease-time                  86400;          # 1 day
use-host-decl-names             on;             # Push hostname to clients (on/off)
ddns-update-style               none;           # Dynamic DNS update style (off,interim,ad-hoc)
#range 10.0.0.100 10.0.0.150;                   # Comment this if you have another DHCP server

# Network
option subnet-mask              255.255.255.0;  # Duh
option broadcast-address        192.168.10.255; # Duh
option routers                  192.168.10.1;   # The default gateway
option domain-name-servers      192.168.10.1;   # Our router / firewall manages DNS
option log-servers              192.168.10.59;  # The box that accepts remote logging
option nntp-server              192.168.10.59;  # The Novell box is our time server
next-server                     192.168.10.59;  # Machine server tftp
#option ip-forwarding           off;            # ???
# Boot
boot-unknown-clients            false;          # Prevent random machines
                                                # from accidently net booting
allow booting;                                  # Duh
allow bootp;                                    # Duh

# PXE & legacy options
option option-128               code 128 = string; # required for PXE boot
option option-129               code 129 = text;   # required for PXE boot
option option-128               e4:45:74:68:00:00; # magic value for PXE booting

#describe workstations
shared-network LTSPCLIENTS {                    # Because there is another DHCP server
        option domain-name      "internal.redvo.com";   # A fake domain-name for our thin-clients
        option root-path        "192.168.10.59:/opt/ltsp/i386"; # NFS root path for the kernel

        if substring (option vendor-class-identifier, 0, 9) = "PXEClient" {
                filename "/tftpboot/lts/2.6.17.8-ltsp-1/pxelinux.0"; # PXE bootrom
        }
        else if substring (option vendor-class-identifier, 0, 9) = "Etherboot" {
                filename "/tftpboot/lts/vmlinuz-2.6.17.8-ltsp-1"; # Etherboot kernel
        }

        subnet 192.168.10.0 netmask 255.255.255.0 {
                # dynamic IP range for DHCP clients
                #range 10.0.0.100 10.0.0.150;

                # this range is assigned to both BOOTP and DHCP clients
                range dynamic-bootp 192.168.10.71 192.168.10.80;

                group WORKSTATIONS {
                        host ws001 {
                                hardware ethernet       00:0A:E6:EA:EF:86;
                                fixed-address           192.168.10.71;
                        }
                        host ws002 {
                                hardware ethernet       00:0c:29:9b:60:7b;
                                fixed-address           192.168.10.72;
                        }
                }
        }
}