On Mon, Mar 11, 2002 at 10:19:24PM +0000, Wei koong Chai wrote:

> [1] I have scanned through both brctl.c and brctld.c but didn't find any
> code
> that actually do the bridging work (or actual routing or forwarding packet
> codes)... thus, is brctl only a bridge configurator or is it a full
> standalone bridge program that includes all the packet managing
> (bridging, routing, forwarding) codes? Can they exist within the code, can
> anyone enlighten me on this matter?

The code that does the actual bridging sits in the kernel.  brctl
is only a tool to configure the kernel, i.e., tell it what devices
it has to listen on, etc.


> [2] I also found something call brcfg which according to the HOWTOs can
> also configure a bridge. Are they (brctl & brcfg) in anyway related? If
> not, what's the difference between the two? Why do they co-exist anyway?

brcfg configures the old (2.2) bridging code.  brctl is for 2.4
and on.


> [3] I am still unsure whether can I use this brctl for my project. Thus, I
> would like some advices from the more experienced about this. Basically, I
> need to add the elements such as extra delay, packet queues, BER etc. etc.
> to emulate a Satellite link. Is brctl suitable for me to use as a
> foundation to build on?

I would do this kind of stuff with netfilter modules.  See:

        http://www.iptables.org/


cheers,
Lennert
_______________________________________________
Bridge mailing list
[EMAIL PROTECTED]
http://www.math.leidenuniv.nl/mailman/listinfo/bridge

Reply via email to