0

I'm trying to setup a simple PXE server using PyPXE in DHCP-Proxy mode, but I keep getting server response timeout from when I try to netboot

Does anyone have experience setting up and using PyPXE in DHCP-Proxy mode?

Here is the debug output

2022-12-05 07:04:43,940 [INFO] PyPXE Starting TFTP server...
2022-12-05 07:04:43,941 [DEBUG] PyPXE.TFTP NOTICE: TFTP server started in debug mode. TFTP server is using the following:
2022-12-05 07:04:43,941 [DEBUG] PyPXE.TFTP Server IP: 10.2.230.2
2022-12-05 07:04:43,941 [DEBUG] PyPXE.TFTP Server Port: 69
2022-12-05 07:04:43,941 [DEBUG] PyPXE.TFTP Network Boot Directory: netboot
2022-12-05 07:04:43,941 [INFO] PyPXE Starting DHCP server in ProxyDHCP mode...
2022-12-05 07:04:43,941 [DEBUG] PyPXE.DHCP NOTICE: DHCP server started in debug mode. DHCP server is using the following:
2022-12-05 07:04:43,941 [INFO] PyPXE.DHCP DHCP Server IP: 10.2.230.2
2022-12-05 07:04:43,941 [INFO] PyPXE.DHCP DHCP Server Port: 67
2022-12-05 07:04:43,941 [INFO] PyPXE.DHCP File Server IP: 10.2.230.5
2022-12-05 07:04:43,941 [INFO] PyPXE.DHCP File Name: http://10.2.230.5/boot.http.ipxe
2022-12-05 07:04:43,941 [INFO] PyPXE.DHCP ProxyDHCP Mode: True
2022-12-05 07:04:43,941 [INFO] PyPXE.DHCP Using iPXE: True
2022-12-05 07:04:43,941 [INFO] PyPXE.DHCP Using HTTP Server: True
2022-12-05 07:04:43,942 [INFO] PyPXE Starting HTTP server...
2022-12-05 07:04:43,942 [DEBUG] PyPXE.HTTP NOTICE: HTTP server started in debug mode. HTTP server is using the following:
2022-12-05 07:04:43,942 [INFO] PyPXE.HTTP Server IP: 10.2.230.5
2022-12-05 07:04:43,942 [INFO] PyPXE.HTTP Server Port: 80
2022-12-05 07:04:43,942 [INFO] PyPXE.HTTP Network Boot Directory: netboot
2022-12-05 07:04:43,942 [INFO] PyPXE PyPXE successfully initialized and running!
2022-12-05 07:04:44,539 [DEBUG] PyPXE.DHCP Received message
2022-12-05 07:04:44,539 [DEBUG] PyPXE.DHCP <--BEGIN MESSAGE-->
2022-12-05 07:04:44,539 [DEBUG] PyPXE.DHCP b'\x01\x01\x06\x00\xb0pL\xe8\x00\x04\x80\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xa4\xbf\x01:H\xc4\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00c\x82Sc5\x01\x019\x02\x05\xc07#\x01\x02\x03\x04\x05\x06\x0c\r\x0f\x11\x12\x16\x17\x1c()*+236:;<BCa\x80\x81\x82\x83\x84\x85\x86\x87a\x11\x00\xa2O\xc5\x00\xbcZ\x11\xe7\x90n\x00\x17\xa4@5b^\x03\x01\x03\x10]\x02\x00\x07< PXEClient:Arch:00007:UNDI:003016\xff'
2022-12-05 07:04:44,539 [DEBUG] PyPXE.DHCP <--END MESSAGE-->
2022-12-05 07:04:44,539 [DEBUG] PyPXE.DHCP Parsed received options
2022-12-05 07:04:44,539 [DEBUG] PyPXE.DHCP <--BEGIN OPTIONS-->
2022-12-05 07:04:44,539 [DEBUG] PyPXE.DHCP {53: [b'\x01'], 57: [b'\x05\xc0'], 55: [b'\x01\x02\x03\x04\x05\x06\x0c\r\x0f\x11\x12\x16\x17\x1c()*+236:;<BCa\x80\x81\x82\x83\x84\x85\x86\x87'], 97: [b'\x00\xa2O\xc5\x00\xbcZ\x11\xe7\x90n\x00\x17\xa4@5b'], 94: [b'\x01\x03\x10'], 93: [b'\x00\x07'], 60: [b'PXEClient:Arch:00007:UNDI:003016']}
2022-12-05 07:04:44,539 [DEBUG] PyPXE.DHCP <--END OPTIONS-->
2022-12-05 07:04:44,539 [INFO] PyPXE.DHCP PXE client request received from A4:BF:01:3A:48:C4
2022-12-05 07:04:44,539 [DEBUG] PyPXE.DHCP Sending DHCPOFFER to A4:BF:01:3A:48:C4
2022-12-05 07:04:44,539 [DEBUG] PyPXE.DHCP DHCPOFFER - Sending the following
2022-12-05 07:04:44,539 [DEBUG] PyPXE.DHCP <--BEGIN HEADER-->
2022-12-05 07:04:44,540 [DEBUG] PyPXE.DHCP b'\x02\x01\x06\x00\xb0pL\xe8\x00\x00\x80\x00\x00\x00\x00\x00\x00\x00\x00\x00\n\x02\xe6\x05\x00\x00\x00\x00\xa4\xbf\x01:H\xc4\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00http://10.2.230.5/boot.http.ipxe\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00c\x82Sc'
2022-12-05 07:04:44,540 [DEBUG] PyPXE.DHCP <--END HEADER-->
2022-12-05 07:04:44,540 [DEBUG] PyPXE.DHCP <--BEGIN OPTIONS-->
2022-12-05 07:04:44,540 [DEBUG] PyPXE.DHCP b'5\x01\x026\x04\n\x02\xe6\x02B\n10.2.230.5C\x0fchainload.kpxe\x00<\tPXEClient+\n\x06\x01\x08\n\x04\x00PXE\xff\xff'
2022-12-05 07:04:44,540 [DEBUG] PyPXE.DHCP <--END OPTIONS-->
2022-12-05 07:04:44,540 [DEBUG] PyPXE.DHCP <--BEGIN RESPONSE-->
2022-12-05 07:04:44,540 [DEBUG] PyPXE.DHCP b'\x02\x01\x06\x00\xb0pL\xe8\x00\x00\x80\x00\x00\x00\x00\x00\x00\x00\x00\x00\n\x02\xe6\x05\x00\x00\x00\x00\xa4\xbf\x01:H\xc4\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00http://10.2.230.5/boot.http.ipxe\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00c\x82Sc5\x01\x026\x04\n\x02\xe6\x02B\n10.2.230.5C\x0fchainload.kpxe\x00<\tPXEClient+\n\x06\x01\x08\n\x04\x00PXE\xff\xff'
2022-12-05 07:04:44,540 [DEBUG] PyPXE.DHCP <--END RESPONSE-->
jawalking
  • 93
  • 6

0 Answers0