From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5440 invoked by alias); 21 Nov 2001 15:24:01 -0000 Mailing-List: contact ecos-discuss-help@sourceware.cygnus.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@sources.redhat.com Received: (qmail 5393 invoked from network); 21 Nov 2001 15:23:58 -0000 Received: from unknown (HELO ascomax.hasler.ascom.ch) (139.79.135.1) by sourceware.cygnus.com with SMTP; 21 Nov 2001 15:23:58 -0000 Received: from eiger.ma.tech.ascom.ch (eiger.ma.tech.ascom.ch [139.79.100.1]) by ascomax.hasler.ascom.ch (8.11.4/8.11.4) with ESMTP id fALFNsJ19548 for ; Wed, 21 Nov 2001 16:23:54 +0100 (MET) Received: from tux.ma.tech.ascom.ch ([139.79.100.37]) by eiger.ma.tech.ascom.ch with esmtp (Exim 3.16 #1) id 166ZE8-0006ZD-00 for ecos-discuss@sources.redhat.com; Wed, 21 Nov 2001 16:23:52 +0100 Received: from news by tux.ma.tech.ascom.ch with local (Exim 3.12 #1) id 166ZE9-00046B-00 for ecos-discuss@sources.redhat.com; Wed, 21 Nov 2001 16:23:53 +0100 To: ecos-discuss@sources.redhat.com Path: not-for-mail From: Martin Buck Newsgroups: local.ecos.discuss Date: Tue, 13 Nov 2001 19:03:00 -0000 Organization: Ascom Systec AG Message-ID: <3BFBC709.64780971@ascom.ch> References: <20011121155731.A25081@frequentis.com> NNTP-Posting-Host: penguin.ma.tech.ascom.ch Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: tux.ma.tech.ascom.ch 1006356233 15613 139.79.100.97 (21 Nov 2001 15:23:53 GMT) X-Complaints-To: usenet@tux.ma.tech.ascom.ch NNTP-Posting-Date: 21 Nov 2001 15:23:53 GMT X-Mailer: Mozilla 4.76 [en] (WinNT; U) X-Accept-Language: en X-Filter-Version: 1.6 (ascomax) Subject: Re: [ECOS] how to manage more IP-addresses X-SW-Source: 2001-11/txt/msg00170.txt.bz2 Christoph Csebits wrote: > Is there a better solution than creating two > build trees, after changing the IP-address in > the right CDL file. Yes, it's done the standard BSD way: ioctl(..., SIOCSIFADDR, ...) and friends. Have a look at the OpenBSD netintro(4) manpage for more details (unfortunately, the documentation that comes with eCos is not really helpful in this case): http://www.openbsd.org/cgi-bin/man.cgi?query=netintro&apropos=0&sektion=0&manpath=OpenBSD+Current&arch=i386&format=html Martin