# 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. # default-lease-time 21600; max-lease-time 21600; ddns-update-style none; allow booting; allow bootp; option subnet-mask 255.255.255.0; option broadcast-address 192.168.0.255; option routers 192.168.0.254; option domain-name-servers 192.168.0.254; option domain-name "ltsp"; option root-path "192.168.0.254:/opt/ltsp/i386"; option option-128 code 128 = string; option option-129 code 129 = text; option option-221 code 221 = text; shared-network WORKSTATIONS { subnet 192.168.0.0 netmask 255.255.255.0 { range dynamic-bootp 192.168.0.100 192.168.0.253; use-host-decl-names on; option log-servers 192.168.0.254; # trick from Peter Rundle # newer Macs if substring (option vendor-class-identifier, 0, 9) = "AAPLBSDPC" { filename "yaboot"; option vendor-class-identifier "AAPLBSDPC"; } # really old iMacs elsif substring (option option-221, 0, 5) = "Apple" { filename "yaboot"; option vendor-class-identifier "AAPLBSDPC"; } # Intel PXE elsif substring (option vendor-class-identifier, 0, 9) = "PXEClient" { # NOTE: kernels are specified in /tftpboot/lts/pxe/pxelinux.cfg/ filename "/lts/pxe/pxelinux.0"; } # default to an i386 BOOTP image else { filename "/lts/vmlinuz.ltsp"; } if substring (option vendor-class-identifier, 20, 3) = "ppc" { option root-path "192.168.0.254:/opt/ltsp/ppc"; } else { option root-path "192.168.0.254:/opt/ltsp/i386"; } } } # example configurations for specifying specific kernels to specific clients group { use-host-decl-names on; option log-servers 192.168.0.254; # ########################################################################## # opetajate tuba serveri kQrval host ws001 { hardware ethernet 00:40:F4:BB:9D:2D; fixed-address 192.168.0.1; filename "/lts/vmlinuz.ltsp"; option root-path "192.168.0.254:/opt/ltsp/i386"; option option-128 e4:45:74:68:00:00; option option-129 "DPORT=1067"; } # 2 korrus keelteruum 219 seinapoolne host ws002 { hardware ethernet 00:40:F4:CC:D2:6D; fixed-address 192.168.0.2; filename "/lts/vmlinuz.ltsp"; option root-path "192.168.0.254:/opt/ltsp/i386"; option option-128 e4:45:74:68:00:00; option option-129 "DPORT=1067"; } # 2 korrus geograafia host ws003 { hardware ethernet 00:40:F4:CC:D5:56; fixed-address 192.168.0.3; filename "/lts/vmlinuz.ltsp"; option root-path "192.168.0.254:/opt/ltsp/i386"; option option-128 e4:45:74:68:00:00; option option-129 "DPORT=1067"; } # opetajate tuba eraldiseisev akende vahel host ws004 { hardware ethernet 00:40:F4:3F:DD:2D; fixed-address 192.168.0.4; filename "/lts/vmlinuz.ltsp"; option root-path "192.168.0.254:/opt/ltsp/i386"; option option-128 e4:45:74:68:00:00; option option-129 "DPORT=1067"; } # spordisaali arvuti vaatega valjakule host ws005 { hardware ethernet 00:40:F4:6E:4B:5C; fixed-address 192.168.0.5; filename "/lts/vmlinuz.ltsp"; option root-path "192.168.0.254:/opt/ltsp/i386"; option option-128 e4:45:74:68:00:00; option option-129 "DPORT=1067"; } # tooopetuse kabinet host ws006 { hardware ethernet 00:40:F4:CC:D4:84; fixed-address 192.168.0.6; filename "/lts/vmlinuz.ltsp"; option root-path "192.168.0.254:/opt/ltsp/i386"; option option-128 e4:45:74:68:00:00; option option-129 "DPORT=1067"; } # keeltemaja opetajate tuba host ws007 { hardware ethernet 00:40:F4:6E:3D:35; fixed-address 192.168.0.7; filename "/lts/vmlinuz.ltsp"; option root-path "192.168.0.254:/opt/ltsp/i386"; option option-128 e4:45:74:68:00:00; option option-129 "DPORT=1067"; } # fyysika kabinet host ws008 { hardware ethernet 00:04:E2:1B:01:78; fixed-address 192.168.0.8; filename "/lts/vmlinuz.ltsp"; option root-path "192.168.0.254:/opt/ltsp/i386"; option option-128 e4:45:74:68:00:00; option option-129 "DPORT=1067"; } # keelte vaheruum 2 korrus tuba 219 2 arvuti aknapoolne host ws009 { hardware ethernet 00:40:F4:05:6A:8D; fixed-address 192.168.0.9; filename "/lts/vmlinuz.ltsp"; option root-path "192.168.0.254:/opt/ltsp/i386"; option option-128 e4:45:74:68:00:00; option option-129 "DPORT=1067"; } # suurtemaja Maarika Roosimagi psyhholoog host ws010 { hardware ethernet 00:50:BF:61:20:33; fixed-address 192.168.0.10; filename "/lts/vmlinuz.ltsp"; option root-path "192.168.0.254:/opt/ltsp/i386"; option option-128 e4:45:74:68:00:00; option option-129 "DPORT=1067"; } # suurtemaja Helgi Tuvi see millele USB pordid juurde kruttisin host ws011 { hardware ethernet 00:40:F4:BB:9D:06; fixed-address 192.168.0.11; filename "/lts/vmlinuz.ltsp"; option root-path "192.168.0.254:/opt/ltsp/i386"; option option-128 e4:45:74:68:00:00; option option-129 "DPORT=1067"; } # suurtemaja Matemaatika vaheruum II korrus host ws012 { hardware ethernet 00:40:F4:6E:4A:61; fixed-address 192.168.0.12; filename "/lts/vmlinuz.ltsp"; option root-path "192.168.0.254:/opt/ltsp/i386"; option option-128 e4:45:74:68:00:00; option option-129 "DPORT=1067"; } # suurtemaja Arvutiklassi terminal nr 2 host ws013 { hardware ethernet 00:40:F4:CC:D0:6D; fixed-address 192.168.0.13; filename "/lts/vmlinuz.ltsp"; option root-path "192.168.0.254:/opt/ltsp/i386"; option option-128 e4:45:74:68:00:00; option option-129 "DPORT=1067"; } # suurtemaja Arvutiklassi terminal nr 1 host ws014 { hardware ethernet 00:40:F4:1D:8E:B8; fixed-address 192.168.0.14; filename "/lts/vmlinuz.ltsp"; option root-path "192.168.0.254:/opt/ltsp/i386"; option option-128 e4:45:74:68:00:00; option option-129 "DPORT=1067"; } # suurtemaja Kalle Pullmanni terminal host ws015 { hardware ethernet 00:40:F4:EB:6B:96; fixed-address 192.168.0.15; filename "/lts/vmlinuz.ltsp"; option root-path "192.168.0.254:/opt/ltsp/i386"; option option-128 e4:45:74:68:00:00; option option-129 "DPORT=1067"; } # #################### JARGNEVAD ON NAIDISED JA NEID MA EI KASUTA######## # host ws012 { # hardware ethernet 00:D0:09:30:6A:1C; # fixed-address 192.168.0.2; # filename "/lts/vmlinuz.ltsp"; # option option-128 e4:45:74:68:00:00; # option option-129 "NIC=ne"; # } # host ws013 { # hardware ethernet 00:D0:09:30:28:B2; # fixed-address 192.168.0.3; # # kernels are specified in /tftpboot/lts/boot/pxe/pxelinux.cfg/ # filename "/lts/boot/pxe/pxelinux.0"; # } # # Apple Specific Settings # host ws007 { # hardware ethernet 00:30:65:69:23:60; # fixed-address 192.168.0.4; # option root-path "192.168.0.254:/opt/ltsp/ppc"; # filename "yaboot"; # option vendor-class-identifier "AAPLBSDPC"; # } }