Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Jan 2001 14:55:59 -0800
From:      Julian Elischer <julian@elischer.org>
To:        "Rogier R. Mulhuijzen" <drwilco@drwilco.nl>
Cc:        freebsd-current@FreeBSD.ORG, Archie@freebsd.org
Subject:   Re: status of bridge code
Message-ID:  <3A70AEFF.E743986D@elischer.org>
References:  <4.3.2.7.0.20010125000221.00b07d60@mail.bsdchicks.com> <4.3.2.7.0.20010125101911.00c84220@mail.bsdchicks.com> <4.3.2.7.0.20010125144426.00c908e0@mail.bsdchicks.com>

next in thread | previous in thread | raw e-mail | index | archive | help
"Rogier R. Mulhuijzen" wrote:
> 
> > > What I want to know is can I just link tap0.upper to a new bridge hook? It
> > > seems to me that is the case.
> >
> >yes I believe so..
> >you can hook as many interfaces as you want to the bridge node.
> >(but you probably don't want to BRIDGE to your cable modem, but to ROUTE
> >to it.... )
> 
> Don't worry =)
> 
> I do want to bridge to the tunnel that goes over my cable modem though.
> Make a real VPN there. (And yeah encrypted links)
> 
> > > I don't see how though. Lets say I link only to left, right and left2right.
> > > Now when data enters left it will go to both right and left2right. When
> > > data enters right it goes to left. But when data enters left2right it goes
> > > to right, not left, where I want it.
> >
> >no, data entering left2right goes to left.
> >(errrr. At least it did when I wrote it.. if not let me know )
> 
>  From ng_tee(4)
> 
>       Packets may also be received on right2left and left2right; if so, they
>       are forwarded unchanged out hooks left and right, respectively.
> 
> packets on left2right are delivered on right....
> 
> And to be sure I checked ng_tee.c:
> 
>          } else if (hinfo == &sc->left2right) {
>                  dup = NULL;
>                  dest = &sc->right;
>          }
> 
> I'll just add the algorithm to ng_tee...

then I screwed it..

packets  from left should go to left2right and packates from left2right should
go 
backk to left..
But we haven't ever used that so it may be in error.

> 
>          DocWilco

-- 
      __--_|\  Julian Elischer
     /       \ julian@elischer.org
    (   OZ    ) World tour 2000
---> X_.---._/  from Perth, presently in:  Budapest
            v


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3A70AEFF.E743986D>