This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: assign IP address to a specifig mac
- From: Gary Thomas <gary at mlbassoc dot com>
- To: mkhoyila at uci dot edu
- Cc: eCos Discussion <ecos-discuss at ecos dot sourceware dot org>
- Date: Mon, 01 Aug 2005 15:58:35 -0600
- Subject: Re: [ECOS] assign IP address to a specifig mac
- References: <53917.63.87.1.243.1122930471.squirrel@webmail.uci.edu>
On Mon, 2005-08-01 at 14:07 -0700, mkhoyila@uci.edu wrote:
> can someone guide me on how to assign an IP address to a mac address from
> eCos ethernet driver? If so, is there a sample code I can look at. thanks.
It's unclear exactly what you mean here.
* Are you looking for a way to force the IP that a particular
interface uses (within an eCos application)?
This is done using the CDL, selecting a fixed IP instead
of using DHCP or BOOTP.
* Perhaps you want for force the association between some external
device's address (ESA) and a particular IP address.
This is normally discovered via ARP (Address Resolution Protocol).
It is possible to push such a relationship directly into the
stack, but it's messy and I'm not sure why you would ever want
to do so.
--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss