Hi, Bikram
Thank you for the reply!
I have checked the "struct netif". After DHCP allocation finished, the IP, 
MASK, WG has been setup. But there is no DNS section in "struct netif". So I am 
afraid DHCP can not offer a DNS.
Though in my place, WG is same as DNS. 
I think it will can not get DNS in some other place.

Best Regards!
Locke_h




2008-11-12



发件人: Bikram Chatterjee
发送时间: 2008-11-12 17:23:15
收件人: Mailing list for lwIP users
抄送: 
主题: Re: [lwip-users] How can I get a DNS Server IP automatically

> I want to know if it can get a DNS Server IP automatically?
> I have test DHCP client, it works well.

If configured properly DHCP server should send DNS server addresses to
DHCP clients

Bikram

On Wed, Nov 12, 2008 at 12:49 PM,  <[EMAIL PROTECTED] > wrote:
>
> Hi,
> I am using LwIP 1.3.0 with Raw API.
> I want to know if it can get a DNS Server IP automatically?
> I have test DHCP client, it works well.
> If it can get DNS like windows or Linux?
> Another question, What is the difference between DHCP and AutoIP?
> Best Regards!
> HuangZhenhua
>
> ________________________________
> 2008-11-12
> _______________________________________________
> lwip-users mailing list
> [email protected]
> http://lists.nongnu.org/mailman/listinfo/lwip-users


_______________________________________________
lwip-users mailing list
[email protected]
_______________________________________________
lwip-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/lwip-users

Reply via email to