Post Reply 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
ipxe network unreachable error
2017-10-22, 14:30 (This post was last modified: 2017-10-22 14:31 by Bamiboom.)
Post: #3
RE: ipxe network unreachable error
(2017-10-21 18:16)NiKiZe Wrote:  The relevant error you get are "Nothing to boot: No such file or directory ("

Most likely your dhcp gives out an invalid filename

You're right!
The first error was not the problem.
So I checked ${filename} and echo ${root-path}, which were both empty.

Then I figured out that because I use dnsmasq as a dhcp / pxe service in parallel to my routers dhcp server, I could only use pxe-service and not dhcp-boot!

Using a dhcp-match I check if it's the first or second dhcp request and supply the right file accordingly!

My working dnsmasq.config file:
# A configuration for dnsmasq to function as a proxyDHCP server,
# enabling LTSP clients to boot when an external, unmodifiable DHCP
# server is present.

# Don't function as a DNS server:

# Log lots of extra information about DHCP transactions.

# Disable re-use of the DHCP servername and filename fields as extra
# option space. That's to avoid confusing some old or broken DHCP clients.

dhcp-match=set:ipxe,175 # iPXE sends a 175 option.

#note: filename should be without the .0 extension, the pxe-service will always add the extension
pxe-service=tag:!ipxe,X86PC,"Boot from Network for x86 legacy BIOS",undionly.kpxe
pxe-service=tag:!ipxe,BC_EFI,"Boot from Network for x86-64 UEFI",ipxe.efi

# the second DHCP request: serve default.ipxe over tftp
pxe-service=tag:ipxe,X86PC,"Supply ipxe script",default.ipxe
pxe-service=tag:ipxe,BC_EFI,"Supply ipxe script",default.ipxe

# This range(s) is for the public interface, where dnsmasq functions
# as a proxy DHCP server providing boot information but no IP leases.
# Any ip in the subnet will do, so you may just put your server NIC ip here.

#Enable tftp

Note that for the files that are loaded from tftp the .0 extension needs to be added.

The default.ipxe loads acronis from http.
Find all posts by this user
Quote this message in a reply
Post Reply 

Messages In This Thread
RE: ipxe network unreachable error - Bamiboom - 2017-10-22 14:30

User(s) browsing this thread: 1 Guest(s)