Date: Thu, 25 Jan 2001 14:47:23 +0100 From: "Rogier R. Mulhuijzen" <drwilco@drwilco.nl> To: Julian Elischer <julian@elischer.org> Cc: freebsd-current@FreeBSD.ORG Subject: Re: status of bridge code Message-ID: <4.3.2.7.0.20010125144426.00c908e0@mail.bsdchicks.com> In-Reply-To: <3A70A3F0.A23A2707@elischer.org> References: <4.3.2.7.0.20010125000221.00b07d60@mail.bsdchicks.com> <4.3.2.7.0.20010125101911.00c84220@mail.bsdchicks.com>
next in thread | previous in thread | raw e-mail | index | archive | help
> > 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... DocWilco 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?4.3.2.7.0.20010125144426.00c908e0>