[ECOS] interface configuration and DHCP question
Gary Thomas
gthomas@redhat.com
Tue Apr 4 08:34:00 GMT 2000
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.
More information about the Ecos-discuss
mailing list