Open ttcchl01 opened 4 years ago
Hello,
It seems that option is correctly sent to your end-device no ? In DHCPACK:
[..]
bootfile: undionly.kpxe
[..]
Hello,
It seems that option is correctly sent to your end-device no ? In DHCPACK:
[..] bootfile: undionly.kpxe [..]
nqb THX for reply more tcp dunp from end-device
08:26:35.027975 ARP, Request who-has inline2.local tell 192.168.0.57, length 46 08:26:35.028066 IP 192.168.0.57.ah-esp-encap > inline2.local.tftp: 30 RRQ "undionly.kpxe" octet tsize 0 08:26:37.048513 IP 192.168.0.57.acp-port > inline2.local.tftp: 30 RRQ "undionly.kpxe" octet tsize 0 08:26:40.043575 ARP, Reply 192.168.0.57 is-at ---MAC MASKED--- (oui Unknown), length 46 08:26:41.058081 IP 192.168.0.57.msync > inline2.local.tftp: 30 RRQ "undionly.kpxe" octet tsize 0 08:26:47.044920 IP 192.168.0.57.gxs-data-port > inline2.local.tftp: 30 RRQ "undionly.kpxe" octet tsize 0 08:26:55.009121 IP 192.168.0.57.vrtl-vmf-sa > inline2.local.tftp: 30 RRQ "undionly.kpxe" octet tsize 0
08:32:35.552400 ARP, Request who-has inline2.local tell 192.168.0.57, length 46 08:32:35.552499 IP 192.168.0.57.ah-esp-encap > 192.168.0.36.tftp: 30 RRQ "undionly.kpxe" octet tsize 0 08:32:35.554422 IP 192.168.0.57.ah-esp-encap > 192.168.0.36.40682: UDP, length 17 08:32:35.554526 IP 192.168.0.57.acp-port > 192.168.0.36.tftp: 35 RRQ "undionly.kpxe" octet blksize 1456 08:32:35.555519 IP 192.168.0.57.acp-port > 192.168.0.36.35322: UDP, length 4 08:32:35.556128 IP 192.168.0.57.acp-port > 192.168.0.36.35322: UDP, length 4 08:32:35.556715 IP 192.168.0.57.acp-port > 192.168.0.36.35322: UDP, length 4
curl -H "Content-Type: application/json" -d '[{"option":66,"value":"192.168.0.36","type":"string"}]' http://127.0.0.1:22222/api/v1/dhcp/options/network/192.168.0.0
192.168.0.57.ah-esp-encap > inline2.local.tftp: 30 RRQ "undionly.kpxe" incorrect
Hello @ttcchl01,
In your situation, pfdhcp
doesn't set Next Server IP address
to Option 66 value in header (not options) of DHCP ACK. In that case, you need to set option 67 to a full TFTP URI like this: tftp://tftp.example.lan/undionly.kpxe
(see http://ipxe.org/err/3c0920#additional_notes). Option 66 is useless in that situation.
Command:
curl -H "Content-Type: application/json" \
-d '[{"option":67,"value":"tftp://tftp.example.lan/undionly.kpxe","type":"string"}]' \
http://127.0.0.1:22222/api/v1/dhcp/options/network/192.168.0.0
Could you check if isc-dhcp-server
sets Next Server IP address
to Option 66 in DHCP ACK header ?
Thanks.
Hi nqb sorry for late reply and thank you very much for your help, but option 67 config still problem on pxe boot, ISC mybe alt.method
Hello,
Could you paste here configuration of your network with only 67 option ?
packetfence godhcp server config option 66 67 for client cannot pxe boot , always TFTP open timeout, but use isc-dhcp alt. dhcpd works fine.
DHCP OPTION 66 67 TFTP open timeout
show Golbal setting
tcpdump dhcp