Hi Siva,

 

Current EDK2 implementation doesn’t support the static IP http boot and only support the standard DHCP available case.

 

I know Spec declare that DHCP is optional, but current implementation doesn’t support that.

 

Talking more about the below spec, actually it’s not related to the static Ip address, it’s about the source of IP address where it comes from (only for Ipv6, if the address is not from DHCP, it must be static policy setting).  Existing HttpBootDxe driver only provide the UI page for user to specify the URI so as to avoid the httpboot extension configuration in DHCP service, not include the IP address. Please refer to HttpBootParseFilePath() function & HttpBootConfigVfr.vfr.

 

Thanks,

Jiaxin

 

From: devel@edk2.groups.io <devel@edk2.groups.io> On Behalf Of Sivaraman Nainar
Sent: Wednesday, April 1, 2020 10:17 AM
To: devel@edk2.groups.io; Wu, Jiaxin <jiaxin.wu@intel.com>
Cc: Fu, Siyuan <siyuan.fu@intel.com>; Arun Subramanian B <arunsubramanianb@ami.com>
Subject: Re: [edk2-devel] Static IP Based HTTP Boot

 

Hello Jiaxin:

 

Sorry for the late response.

 

Reference to the below the Static IP based HTTP boot should be feasible. Can you please comment on the UEFI specification data.

 

We tried to run the HTTP Boot by setting a static IP in UEFI Client and run the HTTP Service alone in the Home environment and it failed to download the image.

 

 

 

 

-Siva

From: devel@edk2.groups.io [mailto:devel@edk2.groups.io] On Behalf Of Wu, Jiaxin
Sent: Wednesday, July 24, 2019 2:30 PM
To: devel@edk2.groups.io; Sivaraman Nainar
Cc: Fu, Siyuan
Subject: Re: [edk2-devel] Static IP Based HTTP Boot

 

Hi Siva,

 

EDK2 doesn’t support the static IP http boot, only two boot scenarios (Corporate & Home environment) are supported as described in UEFI Spec 2.8, section 24.7. Both of them need DHCP server. There is no plan to support other scenario.

 

Thanks,

Jiaxin

 

From: devel@edk2.groups.io [mailto:devel@edk2.groups.io] On Behalf Of Sivaraman Nainar
Sent: Wednesday, July 24, 2019 4:44 PM
To: devel@edk2.groups.io
Cc: Wu, Jiaxin <jiaxin.wu@intel.com>; Fu, Siyuan <siyuan.fu@intel.com>
Subject: [edk2-devel] reg: Static IP Based HTTP Boot

 

Hello:

 

Could you please clarify if there is any plan to support Static IP based HTTP Boot.

 

In order to perform the HTTP Boot it requires an server which leases the DHCP IP, since it performs the DHCP Process before perform the HTTP Boot.

 

Assume in the case where the server is running HTTP Service without running DHCP Service, with Static IP assigned to UEFI system it can’t perform the HTTP Boot by providing URL via Setup.

 

Does EDK2 have plan to support this?

 

-Siva