*BSD News Article 46655


Return to BSD News archive

#! rnews 1775 sserve.cc.adfa.oz.au
Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!zombie.ncsc.mil!news.mathworks.com!gatech!howland.reston.ans.net!xlink.net!zib-berlin.de!news.tu-chemnitz.de!irz401!uriah.heep!bonnie.heep!not-for-mail
From: j@bonnie.heep.sax.de (J Wunsch)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: 2.0.5 Problems with GATEWAY
Date: 10 Jul 1995 09:20:45 +0200
Organization: Private U**x site, Dresden.
Lines: 23
Message-ID: <3tqkcd$bhq@bonnie.tcd-dresden.de>
References: <3tcka2$eu@news.simplex.nl>
Reply-To: joerg_wunsch@uriah.heep.sax.de
NNTP-Posting-Host: 192.109.108.139
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit

Rob Simons <rob@Simplex.simplex.nl> wrote:

>I'm trying to set up my FreeBSD 2.0.5 machine as a gateway between
>two ethernets through a ppp serial line. 
>Since both ends share ip's from the same C-subnet, it's a triffle
>more complicated than I though, if anyone has a similar setup, could
>he or she mail me how he or she did it ?

(As Jordan already mentioned, options GATEWAY is almost a no-op these
days.  All it still does is setting the default of
net.inet.ip.forwarding to 1.  Expect it to go away RSN.)

I don't think there will be an easier way to solve your problem than
splitting your C net into subnets.  The only alternate method i could
think of would be running two gated's on both gateways, and passing
routing information for each and any single host via a routing
protocol, so that you're effectively working with explicit host routes
instead of (sub)network routes.
-- 
cheers, J"org                      private:   joerg_wunsch@uriah.heep.sax.de
                                   http://www.sax.de/~joerg/

Never trust an operating system you don't have sources for. ;-)