This is the mail archive of the ecos-discuss@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: FreeBSD still lacking bridge support?


In gmane.os.ecos.general, you wrote:

>> How difficult would it be to add bridging support to the
>> FreeBSD stack?  Is the bridging code present in the FreeBSD
>> source tree but not enabled, or is there actually no bridging
>> code in the FreeBSD source tree?
>
> I added the bridging support to the OpenBSD stack. I think it
> took me about a day. In fact the hardest part was the
> "userspace" tool to setup the bridge and show the tables. This
> had lots of memory leaks since it was written to run in a
> process environment with a cleanup on exit.
>
> I would not expect a huge effort to make it work, but i've not
> looked at the code...

That's good to hear.  I'll take a look at the code over the
weekend, but knowing the answers to a few preliminary questions
would help:

 * Is the actual bridging done at the DSR level or in the
   network task?

 * Does a device with a "bridged" interface pair appear to the
   outside world as a single device behind a switch? IOW, it
   has only one MAC address?

 * Is the second interface visible to userspace?

What I'm aiming for is something logically equivalent to a
single Etherenet interface with an attached 3-port Ethernet
switch. 

-- 
Grant Edwards                   grante             Yow!  My face is new, my
                                  at               license is expired, and I'm
                               visi.com            under a doctor's care!!!!

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]