This is the mail archive of the ecos-discuss@sourceware.cygnus.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: interface configuration and DHCP question



On 04-Apr-00 Grant Edwards wrote:
> 
> OK, I believe I've figured out how to configure the IP address
> etc. by doing more or less the same thing that's in
> network_support.c:
> 
>   struct bootp bootpRecord;
> 
>   build_bootp_record(&bootpRecord, yadda, yadda, yadda);
>   init_net("eth0",&bootpRecord);
> 

This is what's done when you have static IP addresses.  The idea was to
have a common way of initializing the interfaces, so BOOTP was chosen.

> It doesn't appear that the stack includes support for renewing
> leases on dynamically allocated IP addresses, and this needs to
> be handled by an application task.  N'est-ce pas?

Mais bien sur ;-)

Full DHCP support, with some sort of lease support, is in the works.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]