Bridging two private lans w/ PPP and brtcl
cyberfunk <cyberfunk <at> gmail.com>
2006-07-09 03:52:59 GMT
Hi all, I'm trying to do the following (ASCII art diagram viewable in
fixed-width font at end of message):
Take 2 private LANs, seperated by the internet, and bridge them by
creating a bridge from 2 ethernet devices and a ppp interface tunneled
over ssh between the two linux boxes concerned.
The setup on each of the two networks is nearly identical, and is as follows:
The network has it's own router (cable modem) that serves as the local
gateway for the network to the internet. We dont care about this
except that it provides us a path to the internet through which to
tunnel ppp.
The internet connection is distributed by NAT forwarding, facilitated by
a hub/switch in between the router and the end users. There are 2
types of end users; "regular" which are not part of the bridged
network, and "bridged" whose ethernet frames are to be forwarded back
and forth over the ssh tunneled ppp connection. The "regular" users
are connected directly to the same hub as the router. The "bridged"
users are connected to the Linux box.
Each linux box has 2 ethernet interfaces, eth0 and eth1; eth0 is the
"bridged" users side, and anything connected to this side will have
it's packets bridged through the ppp connection, over the internet,
and to the other bridged users, and vice versa. eth1 connects the
linux box to the rest of the local network. Note: it is important for
the "bridged" users on each local network to see the "regular" users
on their same network, but NOT the "regular" users of the OTHER
network. Therefore, the solution that occurred to me was the
(Continue reading)