setting up PXE and DHCP server on RHEL VM
-1
votes
0
answers
64
views
So I am trying to setup a kickstart server with pxeboot and dhcp server (for ks) on RHEL 8 VM. When I capture network traffic I do not see any pxe/tftp traffic coming to the VM or the host....
I tried following:
host: RHEL 8.10
kickstart server: RHEL 8.10 VM
client: RHEL 7 physical host on other subnet using pxeboot
on server side, I opened ports as follows on kvm host and VM both:
# firewall-cmd --add-service dhcp --perm
# firewall-cmd --add-service tftp --perm
# firewall-cmd --permanent --new-policy tftp-client-data
# firewall-cmd --permanent --policy tftp-client-data --add-ingress-zone HOST
# firewall-cmd --permanent --policy tftp-client-data --add-egress-zone ANY
# firewall-cmd --permanent --policy tftp-client-data --add-service tftp
# firewall-cmd --reload
All config is on KVM VM acting as kickstart server. Only reason i included/mentioned KVM host in this post is - I suspect we need some config there too... I am not sure.
dhcp and tftpserver service is enabled and running just fine.
dhcp.conf file has 2 subnets defined. 1 for local VM (to get the dhcp server up and running) and one for client. (If you do not have subnet for dhcp server itself server will not start)
When I boot the client with PXE boot option. I can see it is waiting for pxe / tftp server but I do not see any traffic on the host or VM. and eventually client times out.
from client:
What can I check on host and VM side?
Thank you.

Asked by Rajeev
(256 rep)
Apr 24, 2025, 11:33 PM
Last activity: Apr 25, 2025, 04:02 PM
Last activity: Apr 25, 2025, 04:02 PM