From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 569 invoked by alias); 1 Aug 2005 21:58:43 -0000 Mailing-List: contact ecos-discuss-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@ecos.sourceware.org Received: (qmail 553 invoked by uid 22791); 1 Aug 2005 21:58:40 -0000 Received: from sta-206-168-96-204.rockynet.com (HELO hermes.chez-thomas.org) (206.168.96.204) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Mon, 01 Aug 2005 21:58:40 +0000 Received: by hermes.chez-thomas.org (Postfix, from userid 2000) id DD37410000A; Mon, 1 Aug 2005 15:58:37 -0600 (MDT) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by hermes.chez-thomas.org (Postfix) with ESMTP id BD922100007; Mon, 1 Aug 2005 15:58:35 -0600 (MDT) From: Gary Thomas To: mkhoyila@uci.edu Cc: eCos Discussion In-Reply-To: <53917.63.87.1.243.1122930471.squirrel@webmail.uci.edu> References: <53917.63.87.1.243.1122930471.squirrel@webmail.uci.edu> Content-Type: text/plain Date: Mon, 01 Aug 2005 21:58:00 -0000 Message-Id: <1122933515.6848.23.camel@hermes> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: [ECOS] assign IP address to a specifig mac X-SW-Source: 2005-08/txt/msg00009.txt.bz2 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