Sophie

Sophie

distrib > Mandriva > 9.1 > ppc > by-pkgid > 486a35ae92a9d487f1c91ed1ad188ff3 > files > 18

gated-3.6-3mdk.ppc.rpm

#
# Public Release 3
#
# $Id: udel.edu,v 1.2 1997/07/17 22:39:34 chopps Exp $
#
Date: Tue, 12 Jan 1993 08:40:44 -0500
From: Ron Reisor <ron@bach.udel.edu>
To: gated-people@comet.cit.cornell.edu, harlan@mumps.pfcs.com
Subject: Re:  configuration file help wanted

Harlan,

    Here are two gated.conf files we use to connect two ethernets to our
campus class b internet.  The addresses are those of the workstations
(all three involved are Sun IPCs) ethernet addresses.  The ppp links
are un-numbered.  The gated on the via.nss system (the "ppp hub")
does most of the work by announcing how to reach the remote ethernets.
The gated that runs on the remote workstations are there to insert a
default route when the link is up.  We couldn't rely on the /usr/etc/route
to add a default route because the ppp link is almost never up as the
/etc/rc* files are run.

    These two ppp connections have been pretty reliable for us over the
past 4-5 months.  We're using some version of gated-alpha that contains
ospf, but these simple configurations should work with other versions of
gated.

cheers,

Ron

#
#	Config file gated-alpha on via.nss (the "ppp hub" attached
#	 to the campus internet.
#

tracefile "/usr/local/etc/gated.log" replace size 1m files 3 ;
traceoptions internal external rip update ;

rip yes
{
	broadcast;
	interface 128.175.38.1 noripout;
	interface 128.175.36.1 noripout;
	interface 128.175.13.37 version 2 broadcast;
};

static
{
	128.175.38.0 mask 255.255.255.0 gateway 128.175.38.1;
	128.175.36.0 mask 255.255.255.0 gateway 128.175.36.1;
};

export proto rip
{
	proto static
	{
		128.175.38.0 mask 255.255.255.0 metric 1;
		128.175.36.0 mask 255.255.255.0 metric 1;
	};
};


#
#	Config file gated-alpha on sun-gw2.nss  (a "remote ppp" gateway
#	 that connects an ethernet (128.175.38.0 into the campus internet)
#

tracefile "/usr/local/etc/gated.log" replace size 1m files 3 ;
traceoptions internal external route rip update ;

interfaces
{
	define 128.175.13.37 pointopoint 128.175.38.1 netmask 255.255.255.0;
};

rip no ;

static
{
	0.0.0.0 mask 0.0.0.0 gateway 128.175.13.37 retain;
};