This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Assign a IP address to a bridge
- From: "C. Snider" <snider at efe-gmbh dot de>
- To: ecos-discuss at ecos dot sourceware dot org
- Date: Fri, 08 Aug 2008 10:45:35 +0200
- Subject: [ECOS] Assign a IP address to a bridge
- Reply-to: snider at efe-gmbh dot de
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
I am trying to assign a IP address to a bridge in ecos, but it just
doesn't work. I am using the example bridge.c and am trying to make a
SIOCSIFADDR ioctl call to the bridge0. The error message is: "Invalid
Argument".
The bridge itself works without any problems, but without an IP address
. It should be possible, or?
- From the ecos documentation: "A bridge interface responds to all of
the ioctl calls specific to other interfaces listed in netintro."
Can somebody help me? How can I create a bridge and assign a IP address ?
A few more information: I use a custom designed board with a ARM7 core
and two ethernet interfaces. I want to use the spanning tree protocol
and make the board accessible from both interfaces with one ip address.
>From what I've read, this should be possible with a bridge and the
spanning tree protocol. Please correct me if I am wrong.
Thanks,
C. Snider
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFInAeviuL3LPHNWBQRAj1JAJ4hD7+UagCNDvwTKW4R0MyhmQOlmACfR7c9
7O1Byos+qSd3VjI4csw27yA=
=Fl0t
-----END PGP SIGNATURE-----
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss