You are not logged in.

#1 2018-02-06 17:00:21

AndyTr
Member
Registered: 2018-02-06
Posts: 1

PXE boot parameter ip=addr throws error"can't parse IP Address 'dhcp'"

Hi,

I'm using Serva (https://www.vercot.com/~serva/default.html) to PXE boot an ISO that a third party company has supplied.  It works fine if I explicitly state the PXE client's IP address, PXE server IP address, gateway, etc., but if I set ip=dhcp, I get the following message:

ipconfig: can't parse IP Address 'dhcp'
ERROR; Failed to confiure network
Falling back to interactive prompt


WORKING ServaAsset.inf:

kernel_bios    = /NWA_PXE/$HEAD_DIR$/ARCH/BOOT/X86_64/VMLINUZ
append_bios    = initrd=/NWA_PXE/$HEAD_DIR$/ARCH/BOOT/INTEL_UCODE.IMG,/NWA_PXE/$HEAD_DIR$/ARCH/BOOT/X86_64/ARCHISO.IMG,/NWA_PXE/$HEAD_DIR$/ARCH/BOOT/X86_64/INITRD_N17.1.GZ archiso_http_srv=http://$IP_BSRV$ archisobasedir=/NWA_PXE/$HEAD_DIR$/ARCH/ ip=192.168.1.155:192.168.1.100:192.168.1.1:255.255.255.0  checksum=y
ipappend_bios  = 2


ERROR ServaAsset.inf:

kernel_bios    = /NWA_PXE/$HEAD_DIR$/ARCH/BOOT/X86_64/VMLINUZ
append_bios    = initrd=/NWA_PXE/$HEAD_DIR$/ARCH/BOOT/INTEL_UCODE.IMG,/NWA_PXE/$HEAD_DIR$/ARCH/BOOT/X86_64/ARCHISO.IMG,/NWA_PXE/$HEAD_DIR$/ARCH/BOOT/X86_64/INITRD_N17.1.GZ archiso_http_srv=http://$IP_BSRV$ archisobasedir=/NWA_PXE/$HEAD_DIR$/ARCH/ ip=dhcp checksum=y
ipappend_bios  = 2


ip=dhcp is the parameter supplied for Archlinux in the Serva docs.  From what I can gather, looking at https://github.com/djgera/archiso, it looks like ip=dhcp is a valid parameter too.  However, I get the error message above as soon as I try to use it.  Setting a single IP explicitly is not going to work when I'm trying to PXE boot multiple clients, so I need to figure out what's going on here.

Does anybody have any pointers, please?

Thanks

Offline

Board footer

Powered by FluxBB