On Mon, 11 Mar 2002, Lennert Buytenhek wrote:

>
> 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

First of all, thank you for the prompt and helpful advice. But i have some
further questions on the matter.

As i have already managed to setup the bridge (using brctl), would it be
possible that i use netfilter (which you have recommended to me) on top of
it? I mean, can the packets traversing through the bridge be mangled with
under current setup?

Or am I suppose to abandon my current working bridge and start from
scratch again?



Cheers,
Wei Koong CHAI
CCSR
University of Surrey
UK

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

Reply via email to