From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by ml01.01.org (Postfix) with ESMTP id 2B6451A1DF7 for ; Wed, 17 Aug 2016 19:48:16 -0700 (PDT) Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga101.fm.intel.com with ESMTP; 17 Aug 2016 19:48:16 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.28,537,1464678000"; d="scan'208";a="750221389" Received: from fmsmsx108.amr.corp.intel.com ([10.18.124.206]) by FMSMGA003.fm.intel.com with ESMTP; 17 Aug 2016 19:48:15 -0700 Received: from fmsmsx152.amr.corp.intel.com (10.18.125.5) by FMSMSX108.amr.corp.intel.com (10.18.124.206) with Microsoft SMTP Server (TLS) id 14.3.248.2; Wed, 17 Aug 2016 19:48:15 -0700 Received: from shsmsx152.ccr.corp.intel.com (10.239.6.52) by FMSMSX152.amr.corp.intel.com (10.18.125.5) with Microsoft SMTP Server (TLS) id 14.3.248.2; Wed, 17 Aug 2016 19:48:15 -0700 Received: from shsmsx102.ccr.corp.intel.com ([169.254.2.147]) by SHSMSX152.ccr.corp.intel.com ([169.254.6.107]) with mapi id 14.03.0248.002; Thu, 18 Aug 2016 10:48:12 +0800 From: "Fu, Siyuan" To: Santhapur Naveen , "edk2-devel@lists.01.org" CC: Sivaraman Nainar , "Madhan B. Santharam" Thread-Topic: Classless IP support for IPv4 PXE boot Thread-Index: AdH4e2JhpVdKe1quTBqkAuTkO1R+hAAfzWUw Date: Thu, 18 Aug 2016 02:48:11 +0000 Message-ID: References: <625A2455CC232F40B0F38F05ACED6D976C4DA5CE@VENUS1.in.megatrends.com> In-Reply-To: <625A2455CC232F40B0F38F05ACED6D976C4DA5CE@VENUS1.in.megatrends.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ctpclassification: CTP_IC x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiYzI0MDdlMzAtYjE5YS00YTBjLWJlZWMtOGQ1OTJiZWExNGE0IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX0lDIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE1LjkuNi42IiwiVHJ1c3RlZExhYmVsSGFzaCI6Iitva1ZHK2twSDNBeUpYNzczdVwveWp2ejhQS05pbmxSQWVLbXRLa09EblE0PSJ9 x-originating-ip: [10.239.127.40] MIME-Version: 1.0 Subject: Re: Classless IP support for IPv4 PXE boot X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Aug 2016 02:48:16 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi, Naveen May I know the GIT version of the 21543, or the subject of the commit messa= ge? I can't see the svn revision number on my side. Thanks Siyuan > -----Original Message----- > From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] On Behalf Of > Santhapur Naveen > Sent: Wednesday, August 17, 2016 7:41 PM > To: edk2-devel@lists.01.org > Cc: Sivaraman Nainar ; Madhan B. Santharam > > Subject: [edk2] Classless IP support for IPv4 PXE boot >=20 > Hello, >=20 > We happened to observe that the IPv4 PXE boot was happening > successfully for both classless and classful IPs until the EDKII revision > 21542. It has been found that there are some changes made in the revision > 21543 and the IPv4 PXE boot is failing for classless IP addresses. The > failure scenario was debugged and is explained here. Let's assume the > subnet range is 192.168.1.0/16. The DHCP server tries to allot an IP > (let's say 192.168.1.0) but based on the first byte of the IP address to > be assigned, the function NetGetIpClass() returns the IP class as Class-C > and its respective subnet mask as 255.255.255.0 that should be for a > classful IP address whereas 255.255.0.0 is the actual subnet in this > scenario. The changes present in function Dhcp4InstanceConfigUdpIo() seem= s > to be responsible for the failure. >=20 > May we know the reason behind the changes present in the Dhcp4Impl.c of > the revision 21543? Is there any plan to bring the classless IP support i= n > NetworkPkg? >=20 >=20 > Thanks, > Naveen > _______________________________________________ > edk2-devel mailing list > edk2-devel@lists.01.org > https://lists.01.org/mailman/listinfo/edk2-devel