Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Jul 1998 12:13:57 -0400
From:      matt <mbehrens@iserv.net>
To:        questions@FreeBSD.ORG
Subject:   expanding a ppp tunnel network
Message-ID:  <35B60FC5.F31FFAC@iserv.net>

next in thread | raw e-mail | index | archive | help

I have a tunnel link using ppp's PPP over TCP function between two
networks.  At some point in the future, I'd like to add a third, but I'm
a bit puzzled as to how it will work.

First, I'm divvying up 192.168 like this:

	192.168.  0.  0 / 24	ppp links
	192.168.  1.  0 / 24	network #1
	192.168.  2.  0 / 24	network #2
		.
		.
		.

So, in order for network #1 to connect to network #2, a ppp connection
is initiated with network #1's FBSD machine having its IP address
192.168.0.1, network #2's FBSD at 192.168.0.2, and routes setup up for
192.168.1/24 through 192.168.0.1 and 192.168.2/24 throgh 192.168.0.2.

Here's the question.  I know I can just add the third network and pick
one of the two networks to be a pass-through; for example, network #3
would reach network #1 through network #2's FBSD box.  That's easy.  But
annoyingly limited bandwidth forces me to think otherwise.

What's the best way to handle this without sucking up IP addresses in
192.168.0/24?  (i.e. if I kept going like this, each host would have two
links with unique IP's, making 6 IP's used for 3 networks.)  Can I reuse
IP's?

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?35B60FC5.F31FFAC>