# Sample configuration file for ISCD dhcpd # # Don't forget to set run_dhcpd=1 in /etc/init.d/dhcpd # once you adjusted this file and copied it to /etc/dhcpd.conf. # # Sample dhcpd.conf for Project Theseus ETS How-To # # Modified by Tom Lisjac vlx at users.sourceforge.net # For ETS How-To Beta release: 2002/11/04 # # Documentation related to this file can be found at: # http://theseus.sourceforge.net/projects/ets/ets-howto.html # # # This is a simple example: needs additional work to make it # suitable for a broad range of applications. # # As is, this file works on a stand alone server. It will be # copied to the primary during the configuration process and # duplicated when the secondary drive is cloned. When each # server is individually configured, this file will be modified # per the instructions in the how-to. # # The first failover declaration should be uncommented on # the primary server. Fill in the IP addresses of your primary # and secondary servers and select ports on each if the defaults # aren't acceptable. Leave the split 128 commented out. #failover peer "ltsp" { # primary; # address 172.16.0.1; # port 519; # peer address 172.16.0.2; # peer port 520; # mclt 3600; # max-response-delay 30; # max-unacked-updates 10; # load balance max seconds 3; ## split 128; # hba ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff: # 00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00; #} # # The second failover declaration should be uncommented on # the secondary server. Fill in the IP addresses of your primary # and secondary servers and select ports on each if the defaults # aren't acceptable. Declarations here should match the primary # but in the opposite role. # #failover peer "ltsp" { # secondary; # address 172.16.0.2; # port 520; # peer address 172.16.0.1; # peer port 519; # max-response-delay 30; # max-unacked-updates 10; # load balance max seconds 3; #} # Configure the rest of this file for YOUR network settings. ddns-update-style none; default-lease-time 21600; max-lease-time 21600; option subnet-mask 255.255.0.0; option broadcast-address 172.16.255.255; #option routers 192.168.0.254; #option domain-name-servers 192.168.0.254; option domain-name "yourdomain.com"; option root-path "172.16.0.2:/opt/ltsp/i386"; option option-128 code 128 = string; option option-129 code 129 = text; shared-network WORKSTATIONS { subnet 172.16.0.0 netmask 255.255.0.0 { use-host-decl-names on; option log-servers 172.16.0.2; filename "/lts/vmlinuz-2.4.19-ltsp-1"; # Comment out the next two lines if you're using PCI cards # in your workstations. These declarations are for ISA cards. option option-128 e4:45:74:68:00:00; option option-129 "NIC=3c509"; # In a stand alone configuration, leave the failover peer line # commented out. Remove the comment when deploying the primary # and secondary servers in the failover configuration. pool { # failover peer "ltsp"; max-lease-time 7200; deny dynamic bootp clients; range 172.16.0.25 172.16.0.200; } } }