iPXE discussion forum

Full Version: iPXE EFI - no network after the DHCP sequence
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

we are experiencing an issue while booting with iPXE for UEFI. We have compiled it as "snp.efi" (app) and "snp.efidrv" (driver).

While booting with iPXE included as an EFI driver in our firmware, the Intel NIC is seen, then the DHCP sequence is done and the client receives its IP parameters. However, it fails to continue (HTTP download timeout). At this step, we noticed that the client and the server cannot ping themselves (whereas the DHCPACK has been received by the client), and the client emits lots of ARP WHO-HAS to know the MAC address of the server.

Here are the corresponding traces:

iPXE 1.0.0+ (827dd) -- Open Source Network Boot Firmware -- http://ipxe.org
Features: DNS HTTP TFTP EFI Menu

net0: 08:00:38:b0:90:ad using NII on NII-0000:02:00.0 (open)
[Link:up, TX:0 TXE:0 RX:2993 RXE:6]
[RXE: 4 x "Network unreachable (http://ipxe.org/28056090)"]
[RXE: 2 x "Operation not supported (http://ipxe.org/3c086083)"]
DHCP 0xa7e02308 entering discovery state
Configuring (net0 08:00:38:b0:90:ad)...DHCP 0xa7e02308 DHCPDISCOVER
DHCP 0xa7e02308 DHCPOFFER from for
..DHCP 0xa7e02308 entering request state
DHCP 0xa7e02308 DHCPREQUEST to for
DHCP 0xa7e02308 DHCPACK from for
net0: gw
Next server:
Filename: Operation canceled (http://ipxe.org/0b072095)

iPXE> ifstat
net0: 08:00:38:b0:90:ad using NII on NII-0000:02:00.0 (open)
[Link:up, TX:7 TXE:4 RX:4992 RXE:137]
[TXE: 4 x "Error 0x2a376089 (http://ipxe.org/2a376089)"]
[RXE: 56 x "Network unreachable (http://ipxe.org/28056090)"]
[RXE: 25 x "Operation not supported (http://ipxe.org/3c086083)"]
[RXE: 56 x "Invalid argument (http://ipxe.org/1c056082)"]
net1: 00:a0:c9:00:00:01 using NII on NII-0000:02:00.1 (closed)
[Link:down, TX:0 TXE:0 RX:0 RXE:0]
[Link status: Unknown (http://ipxe.org/1a086194)]
iPXE> ping
0 bytes from <none>: seq=1: Connection timed out (http://ipxe.org/4c1b2092)
0 bytes from <none>: seq=2: Connection timed out (http://ipxe.org/4c1b2092)
0 bytes from <none>: seq=3: Connection timed out (http://ipxe.org/4c1b2092)
Finished: Operation canceled (http://ipxe.org/0b072095)

As you can see, there a few network errors, but this doesn't seem to be the root cause of this issue: that works well with the snp.efi application when it is launched from an EFI shell ! Unfortunately, we cannot use the EFI application as a solution since we use iPXE mainly for diskless systems.

Does someone has an idea about this issue (or what we are doing wrong) ?

Many thanks for any help. Please let me know if more traces might help for debugging!

Reference URL's