This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: how to manage more IP-addresses
- From: Martin Buck <martin dot buck at ascom dot ch>
- To: ecos-discuss at sources dot redhat dot com
- Date: Wed, 21 Nov 2001 16:23:53 +0100
- Subject: Re: [ECOS] how to manage more IP-addresses
- Newsgroups: local.ecos.discuss
- Organization: Ascom Systec AG
- References: <20011121155731.A25081@frequentis.com>
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