Re: [edk2] running the StdLib socket test apps in OVMF [was: ovmf pxeboot]

Subject: Re: [edk2] running the StdLib socket test apps in OVMF [was: ovmf pxeboot]

From: Duane Voth <>

To: "" <>, Laszlo Ersek <>, "Leahy, Leroy P" <>

Date: 2013-04-24 18:34:16

Gentlemen, pardon the intrusion but I'm approaching a deadline and need to attract a little attention to posts with the subject:[edk2] OVMF networking for real this time

I noticed the two of you discussing this a few months ago:

On Thu, Jan 17, 2013 at 10:53 AM, Laszlo Ersek <> wrote:
On 01/17/13 16:00, Gerd Hoffmann wrote:
> I'm running ovmf with networking enabled and ipxe efi roms. Network
> driver seems to work properly. In efi shell I can ifconfig the
> interface with a static ip address and ping the default gateway.

I tried something similar, but didn't get this far.

I also am using an ipxe based PXE boot payload in OVMF with -D NETWORK_ENABLE. "ifconfig -s eth0 dhcp" appears to work but suspiciously returns immediately with the PXE boot IP with *no* network traffic for the dhcp handshake. (I would be thrilled if the dhcp lease negotiation during the PXE boot was carried forward to uEFI, but doubt that this is actually what is happening!)

In any case I canNOT ping the gateway after ifconfig. The error is:

"There is no route to the destination '' from the source '<null string>' was found."

I don't recall ever seeing routing table configs in uEFI - could someone explain how the uEFI routing tables are setup?

GetServByPort.efi btw, works fine.