Hi Jiaxin,

        Yeah, I've been using 'ifconfig -s eth0 dhcp' from shell to set the IP 
address.

Regards,
Naveen

-----Original Message-----
From: Wu, Jiaxin [mailto:jiaxin...@intel.com] 
Sent: Tuesday, April 11, 2017 5:00 PM
To: Santhapur Naveen; edk2-devel@lists.01.org
Subject: RE: What happens if I have 2 DNS in the OFFER packet

Hi Naveen,

Do you use the "ifconfig -s eth0 dhcp" command to set the IP address? For 
Ip4config2 protocol, no matter how many DNS in offer packet, all of will be 
configured (See Ip4Config2OnDhcp4Complete).

Thanks,
Jiaxin

> -----Original Message-----
> From: edk2-devel [mailto:edk2-devel-boun...@lists.01.org] On Behalf Of 
> Santhapur Naveen
> Sent: Tuesday, April 11, 2017 5:29 PM
> To: edk2-devel@lists.01.org
> Subject: [edk2] What happens if I have 2 DNS in the OFFER packet
> 
> Hi all,
> 
>             I've been facing an issue which is "IP is not assigned to 
> the SUT if the received OFFER packet contains 2 DNS entries."
>             I don't have the environment with me. When I compared the 
> Wireshark log in success and failure cases sent to me, I see no 
> differences except the DNS entries in the OFFFER are different.
> 
>             In the failure case, DISCOVER packet is sent four times as 
> per RFC. And the server is sending OFFER packet all the four times, 
> but the SUT is not accepting. Since I don't have the environment in 
> which there will be two DNS entries, I'm not in a position to provide more 
> details.
> 
>             Is this an expected behavior or am I missing anything?
> 
> Regards,
> Naveen
> _______________________________________________
> edk2-devel mailing list
> edk2-devel@lists.01.org
> https://lists.01.org/mailman/listinfo/edk2-devel
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel

Reply via email to