On Thu, 7 Nov 2019 at 03:53, Samuel Sieb samuel@sieb.net wrote:
On 11/6/19 3:39 PM, Aaron Gray wrote:
Does anyone have PXE booting working ?
Yes, for both legacy and EFI modes.
Right I am only needing legacy
I am nearly there but was wondering if anyone would share their iptabels/firewall-cmd, dhcpd, and pxelinux.cfg files please ?
I have everything up to the dns + http/https stage working.
I'm not sure what this means. Maybe describe what you have and what's not working.
I have BOOTP and TFTP working but it seems to be failing on DNS and HTTP or HTTPS.
Here's my dhcp.conf :- ~~~ # dhcpd.conf
# option definitions common to all supported networks... option domain-name "aarongray.org"; option domain-name-servers ns1.hover.com, ns2.hover.com;
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). log-facility local7;
#
allow booting; allow bootp;
ddns-update-style interim; ignore client-updates;
# No service will be given on this subnet, but declaring it helps the # DHCP server to understand the network topology.
subnet 192.168.2.0 netmask 255.255.255.0 { authoritative;
range 192.168.2.1 192.168.2.127; option domain-name-servers 8.8.8.8, 8.8.4.4; option routers 192.168.1.111; option broadcast-address 192.168.2.255; # option ip-forwarding off; default-lease-time 600; max-lease-time 7200;
option ntp-servers ntp.fedora.org;
range dynamic-bootp 192.168.2.128 192.168.2.240; ddns-update-style none; filename "pxelinux.0"; }
host one-primary { hardware ethernet 01:23:45:67:89:AB; fixed-address 192.168.2.128; } host two-primary { hardware ethernet 23:45:67:89:AB:CD; fixed-address 192.168.2.129; } host three-primary { hardware ethernet 45:67:89:AB:CD:EF; fixed-address 192.168.2.130; } ~~~