Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 6 Dec 1995 10:23:57 -0500
From:      "Garrett A. Wollman" <wollman@lcs.mit.edu>
To:        Archie Cobbs <archie@tribe.com>
Cc:        freebsd-questions@freebsd.org
Subject:   half routing
Message-ID:  <9512061523.AA09402@halloran-eldar.lcs.mit.edu>
In-Reply-To: <199512060044.QAA17690@bubba.tribe.com>
References:  <199512060044.QAA17690@bubba.tribe.com>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
<<On Tue, 5 Dec 1995 16:44:59 -0800 (PST), Archie Cobbs <archie@tribe.com> said:

> What is the correct way to do half-routing with the FreeBSD "ifconfig"
> and "route" commands?

There is no `correct' way to do this because the Internet architecture
does not permit it.  The software makes some attempt to support this
model, but since the model is fundamentally broken, I'll not waste any
time in trying to make the software do it.

> For example, suppose you have a point-to-point link between two networks,
> say 192.168.1.0 and 192.168.2.0, and gateways "gw1" and "gw2" on either
> end, but you don't have any other IP addresses for which to number the
> interfaces on the (inside) ends of the point-to-point link:

As much as I hate to say it, this is a case when you should use a
private network number.  (Just make for damn sure that it doesn't leak
out into the Internet, which is no problem if you're doing static
routing.)

>   192.168.1.0 --*[ gw1 ]*---point-to-point-link---*[ gw2 ]*-- 192.168.2.0

>         no address here ^         no address here ^
          10.0.0.1                  10.0.0.2

-GAWollman

--
Garrett A. Wollman   | Shashish is simple, it's discreet, it's brief. ... 
wollman@lcs.mit.edu  | Shashish is the bonding of hearts in spite of distance.
Opinions not those of| It is a bond more powerful than absence.  We like people
MIT, LCS, ANA, or NSA| who like Shashish.  - Claude McKenzie + Florent Vollant



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?9512061523.AA09402>