This is the mail archive of the
ecos-discuss@sourceware.cygnus.com
mailing list for the eCos project.
RE: interface configuration and DHCP question
- To: Grant Edwards <grante at visi dot com>
- Subject: RE: [ECOS] interface configuration and DHCP question
- From: Gary Thomas <gthomas at redhat dot com>
- Date: Tue, 04 Apr 2000 09:33:59 -0600 (MDT)
- Cc: ecos-discuss at sourceware dot cygnus dot com
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.