Hello,
We are trying to get PXE boot working in VMware.
I am seeing very inconsistency when i do PXE boot installation. Sometime it does get DHCP address and works and sometimes it does not and time out. Our DHCP server is running on a VM on the same subnet i am trying to PXE boot. I do see in logs on DHCP server that it is offering IPs when requested. However, sometime its just time out in VMware without sending a request to DHCP server. Any idea where to start from ?
This is my dhcp server config :-
[root@pscfpl86 log]# cat /etc/dhcp/dhcpd.conf
ddns-update-style interim;
allow booting;
allow bootp;
option domain-name "xxxx.xxxx";
option domain-name-servers ns1.xxx.xxx, ns2.xxxx.xxxx;
default-lease-time 21600;
max-lease-time 43200;
authoritative;
ignore client-updates;
set vendorclass = option vendor-class-identifier;
subnet 10.11.12.0 netmask 255.255.255.0 {
option routers 10.11.12.1;
max-lease-time 1800;
min-lease-time 1800;
default-lease-time 1800;
option domain-name-servers 10.11.12.1;
option subnet-mask 255.255.255.0;
option domain-name "xxxx.xxxx";
range dynamic-bootp 10.11.12.5 10.11.12.100;
filename "pxelinux.0";
next-server 10.11.12.2;
}
And when i get DHCP request from a VM, i can see it in logs :-
[root@pscfpl86 log]# tail -f messages
Dec 27 08:45:50 pscfpl86 dhcpd: DHCPOFFER on 10.11.12.10 to 00:50:56:90:20:ab via ens224
Dec 27 08:45:50 pscfpl86 dhcpd: DHCPREQUEST for 10.11.12.10 (10.11.12.1) from 00:50:56:90:20:ab via ens224
Dec 27 08:45:50 pscfpl86 dhcpd: DHCPACK on 10.11.12.10 to 00:50:56:90:20:ab via ens224
Dec 27 08:46:04 pscfpl86 dhcpd: DHCPREQUEST for 10.11.12.10 from 00:50:56:90:20:ab via ens224