¡Esta es una revisión vieja del documento!
Servidor DHCP
Estaremos usando isc-dhcp-server, busca como se llama en tu OS
Ya lo explicaré mas a profundidad, de mientras, esta configuración Funciona™ (además, no creo que haya mucho que explicar, realmente, si tienes claros los conceptos verás que son autodescriptivos)
- dhcpd.conf
option rfc3442-classless-static-routes code 121 = array of integer 8; #option definitions common to all supported networks... option domain-name "suragu.net"; option domain-name-servers 192.168.1.207, 192.168.1.205; default-lease-time 600; max-lease-time 7200; # Use this to enble / disable dynamic dns updates globally. #ddns-update-style none; # If this DHCP server is the official DHCP server for the local # network, the authoritative directive should be uncommented. authoritative; # Use this to send dhcp log messages to a different log file (you also # have to hack syslog.conf to complete the redirection). # No service will be given on this subnet, but declaring it helps the # DHCP server to understand the network topology. option client-architecture code 93 = unsigned integer 16; # Esto es una declaración de subred subnet 192.168.1.0 netmask 255.255.255.0 { range 192.168.1.2 192.168.1.99; option routers 192.168.1.1; next-server 192.168.1.207; option root-path "192.168.1.207:/var/www/html/freebsd_boot"; if exists user-class and option user-class = "iPXE" { filename "http://192.168.1.207/boot.ipxe"; } elsif option client-architecture = 00:00 { filename "undionly.kpxe"; } else { filename "ipxe.efi"; } }