*BSD News Article 73675


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!spool.mu.edu!howland.reston.ans.net!news.sprintlink.net!news-stk-200.sprintlink.net!news.sprintlink.net!new-news.sprintlink.net!newsreader.sprintlink.net!news.sprintlink.net!news-ana-7.sprintlink.net!news.texas.net!news.kei.com!news.mathworks.com!fu-berlin.de!irz401!orion.sax.de!uriah.heep!news
From: j@uriah.heep.sax.de (J Wunsch)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Not Advertising RIP
Date: 14 Jul 1996 12:38:30 GMT
Organization: Private BSD site, Dresden
Lines: 71
Message-ID: <4sapo6$eh@uriah.heep.sax.de>
References: <4rkgcj$2hc@eplet.mira.net.au> <4rt1h3$4fl@uriah.heep.sax.de>
  <4s7fpm$j0t@symiserver2.symantec.com> <4s9s45$ki0@eplet.mira.net.au>
Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch)
NNTP-Posting-Host: localhost.heep.sax.de
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Newsreader: knews 0.9.6
X-Phone: +49-351-2012 669
X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F  93 21 E0 7D F9 12 D6 4E

robseco@wizard.teksupport.net.au (Rob Secombe) wrote:

> I must admit I haven't tried GateD yet but it is starting to look as if I 
> may have no choice.

It's certainly the best choice at all.

I tried to look at routed's man page, but realized that i've got a
much more advanced routed now, so this might be irrelevant to you.
routed is _supposed_ to also handle your case, but i believe by the
same time you have debugged and traced it, you would also have a
working GateD setup.

GateD's config file documentation ships in HTML format now, and alas,
it's not installed by default from the package.  So make sure to move
it into some useful place before running ``make clean'' in the port
directory.  The entire configuration sections looks awfully complex at
a first glance, but you'll quickly note that you don't need most of
the options for simple cases like yours.

Just in case, i've posted my configuration in another followup (and
it's quite different from yours), but for reference, here's my
/etc/gated.conf for the machine i've named 1.2.3.1 in my posting.  I
don't comment it exhaustively here, it's just intended as a sample
when you read the configuration guide.

traceoptions
	"/var/tmp/gated.run"
	replace size 1m
	files 3
	general;

interfaces
{
	interface ed0 passive;

	/* incoming PPP connections on host 1.2.3.1 */
	define 1.2.3.160 pointopoint 1.2.3.101;
	define 1.2.3.161 pointopoint 1.2.3.101;
	define 1.2.3.162 pointopoint 1.2.3.101;
	define 1.2.3.163 pointopoint 1.2.3.101;

};

rip yes
{
	interface all noripin noripout;
	interface ed0 ripin;
	trustedgateways
		1.2.3.4
		1.2.3.5;
};

import proto rip
{
	/* imported from 1.2.3.4: */
	3.2.0.0 mask 255.255.0.0 refines restrict;
	2.3.4.0 mask 255.255.255.0 restrict;
	all;
	/* imported from 1.2.3.5: */
	default;
};



-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)