Re: [EXTERNAL] Re: [edk2-devel] NetworkPkg: Unexpected DHCP RELEASE after PXE server reply on IPv6


Vincent Zimmer
 

FYI

For IPv6, the TFTP-based network boot process (i.e., pxe) is called Netboot6 & detailed in “24.3.1 Netboot6”/” 24.3.1.2 IPv6-based PXE boot", and for IPV4 PXE we also curate changes/clarifications in “E.4.20 PXE 2.1 specification wire protocol clarifications”, all of which are found in https://uefi.org/sites/default/files/resources/UEFI_Spec_2_9_2021_03_18.pdf since http://www.pix.net/software/pxeboot/archive/pxespec.pdf is frozen/unmaintained at this point.

 

Vincent

 

 

From: devel@edk2.groups.io <devel@edk2.groups.io> On Behalf Of Bret Barkelew via groups.io
Sent: Tuesday, June 29, 2021 9:54 AM
To: devel@edk2.groups.io; maciej.rabeda@...; LathaKannan Arumugam <larumugam@...>
Subject: Re: [EXTERNAL] Re: [edk2-devel] NetworkPkg: Unexpected DHCP RELEASE after PXE server reply on IPv6

 

Thanks, Maciej! We’ll investigate!

 

- Bret


From: Rabeda, Maciej <maciej.rabeda@...>
Sent: Tuesday, June 29, 2021 9:39:59 AM
To: devel@edk2.groups.io <devel@edk2.groups.io>; LathaKannan Arumugam <larumugam@...>; Bret Barkelew <Bret.Barkelew@...>
Subject: Re: [EXTERNAL] Re: [edk2-devel] NetworkPkg: Unexpected DHCP RELEASE after PXE server reply on IPv6

 

Additionally, for claim that IPv4 does not do that, please provide Wireshark trace, if available.

On 29-Jun-21 18:36, Maciej Rabeda wrote:

Hi guys,

Finally got some time to look into it.

Long story short, this smells like infrastructure problem.
SARR passes over 546/547 port pair. That is between UEFI PXE client and DHCP server (even if it is the same machine).
The next packet is essentially a Boot Server choice step. UEFI PXE client sends a unicast discovery packet towards Boot server (same machine, same address) coded as DHCP Request.
The release packet is a direct reaction to 3 second timeout (see time diff between packet 9 and 11).

See section 2.2.1 in PXE spec: http://www.pix.net/software/pxeboot/archive/pxespec.pdf

Please verify that your WDS service is running correctly, since clearly there is no reaction to that packet from Boot server.

On 28-Jun-21 22:05, LathaKannan Arumugam via groups.io wrote:

Can you please help us on this issues? 


From: devel@edk2.groups.io <devel@edk2.groups.io> on behalf of LathaKannan Arumugam via groups.io <larumugam@...>
Sent: Friday, June 25, 2021 1:11:42 PM
To: Bret Barkelew <Bret.Barkelew@...>; Rabeda, Maciej <maciej.rabeda@...>; devel@edk2.groups.io <devel@edk2.groups.io>
Subject: Re: [EXTERNAL] Re: [edk2-devel] NetworkPkg: Unexpected DHCP RELEASE after PXE server reply on IPv6

 

Any inputs?

We kind of blocked on this for a week.  Kindly look into packet capture and suggest a path forward.

 

 

From: LathaKannan Arumugam
Sent: Friday, June 25, 2021 9:23 AM
To: Bret Barkelew <Bret.Barkelew@...>; Rabeda, Maciej <maciej.rabeda@...>; devel@edk2.groups.io
Subject: RE: [EXTERNAL] Re: [edk2-devel] NetworkPkg: Unexpected DHCP RELEASE after PXE server reply on IPv6

 

Attached packet captured from server.

 

From: Bret Barkelew <Bret.Barkelew@...>
Sent: Friday, June 25, 2021 9:19 AM
To: Rabeda, Maciej <maciej.rabeda@...>; devel@edk2.groups.io; LathaKannan Arumugam <larumugam@...>
Subject: Re: [EXTERNAL] Re: [edk2-devel] NetworkPkg: Unexpected DHCP RELEASE after PXE server reply on IPv6

 


From: Rabeda, Maciej <maciej.rabeda@...>
Sent: Friday, June 25, 2021 7:40:16 AM
To: devel@edk2.groups.io <devel@edk2.groups.io>; Bret Barkelew <Bret.Barkelew@...>; Bret Barkelew <Bret.Barkelew@...>
Subject: [EXTERNAL] Re: [edk2-devel] NetworkPkg: Unexpected DHCP RELEASE after PXE server reply on IPv6

 

Looking at it. Any chance to get Wireshark trace for this scenario?

On 25-Jun-21 09:25, brbarkel via groups.io wrote:

Just poking this to see if anyone has any ideas. Thanks!

 

 

 

Join devel@edk2.groups.io to automatically receive all group messages.