# # Sample dhcpd.conf for diskless clients # # Disable dynamic DNS ddns-update-style none; # Assume one default gateway for IP traffic will do option routers 172.22.100.1; # Provide DNS info to clients option domain-name-servers 172.22.100.202, 172.22.100.1; option domain-name "sanitarium.net futurequest.net"; #option domain-name "sanitarium.net"; # Specify the TFTP server to be used next-server 172.22.100.202; # Declare a vendor-specific option buffer for PXE clients: # Code 1: Multicast IP address of boot file server # Code 2: UDP port that client should monitor for MTFTP responses # Code 3: UDP port that MTFTP servers are using to listen for MTFTP requests # Code 4: Number of seconds a client must listen for activity before trying # to start a new MTFTP transfer # Code 5: Number of seconds a client must listen before trying to restart # a MTFTP transfer option space PXE; option PXE.mtftp-ip code 1 = ip-address; option PXE.mtftp-cport code 2 = unsigned integer 16; option PXE.mtftp-sport code 3 = unsigned integer 16; option PXE.mtftp-tmout code 4 = unsigned integer 8; option PXE.mtftp-delay code 5 = unsigned integer 8; option PXE.discovery-control code 6 = unsigned integer 8; option PXE.discovery-mcast-addr code 7 = ip-address; # Declare the subnet where our diskless nodes will live subnet 172.22.100.0 netmask 255.255.255.0 { option broadcast-address 172.22.100.255; authoritative; # assign dynamic IPs if no host is specified... range 172.22.100.30 172.22.100.39; # Provide PXE clients with appropriate information class "pxeclient" { match if substring(option vendor-class-identifier, 0, 9) = "PXEClient"; vendor-option-space PXE; option PXE.mtftp-ip 0.0.0.0; if exists user-class and option user-class = "gPXE" { filename "pxelinux.0"; } elsif exists user-class and option user-class = "iPXE" { filename "pxelinux.0"; } else { filename "ipxe-undionly.kpxe"; } } # Add one host declaration for each diskless host host comatose { hardware ethernet 00:1B:21:22:9D:61; fixed-address 172.22.100.20; } host insomnia { hardware ethernet 00:1B:21:20:07:7F; fixed-address 172.22.100.13; } host obsessive { #hardware ethernet 00:D0:B7:BE:E7:1C; hardware ethernet 00:1b:21:20:0c:f1; fixed-address 172.22.100.15; } host hellmouth { #hardware ethernet 00:1B:21:20:07:8A; hardware ethernet 00:1B:21:20:07:9F; fixed-address 172.22.100.1; } host deranged-e1000 { hardware ethernet 00:1B:21:22:8D:00; fixed-address 172.22.100.2; option root-path "/netboot/deranged"; option domain-name "sanitarium.net"; } host deranged-dge { hardware ethernet 00:21:91:1F:D8:A1; fixed-address 172.22.100.2; } host lunacy { hardware ethernet 00:1A:92:37:66:2E; fixed-address 172.22.100.16; } host lunatic { hardware ethernet DE:AD:AC:16:64:04; fixed-address 172.22.100.4; } host laika { hardware ethernet 00:A0:C9:BB:42:B4; fixed-address 172.22.100.45; } host laika2 { hardware ethernet 00:22:15:85:71:98; fixed-address 172.22.100.46; } host handytone { hardware ethernet 00:0B:82:04:35:A6; fixed-address 172.22.100.253; } host procurve { hardware ethernet 00:1F:28:66:83:E0; fixed-address 172.22.100.251; } host dementia { hardware ethernet 00:1B:21:5E:8A:92; fixed-address 172.22.100.17; } host raygun { hardware ethernet 00:00:F0:AE:51:62; fixed-address 172.22.100.7; } host receiver { hardware ethernet 00:A0:DE:87:A0:47; fixed-address 172.22.100.249; } }