(fwd) Re: Export OSPF'a GateD'om

Andrey Gerzhov (kittle@freeland.alex-ua.com)
Thu, 2 Sep 1999 20:37:59 +0300 (EEST)

-- forwarded message --
Path: freeland.alex-ua.com!routki.ki.yurteh.net!carrier.kiev.ua!srcc!newsfeed.gamma.ru!Gamma.RU!ddt.demos.su!not-for-mail
From: "Alexander J. Pantous" <alx@fantom.vsmu.vinnica.ua>
Newsgroups: fido7.ru.unix
Subject: Re: Export OSPF'a GateD'om
Date: 27 Aug 1999 10:49:28 +0400
Organization: Vinnitsa State Pirogov Memorial Medical University
Lines: 66
Sender: fido7@ddt.demos.su
Approved: <gateway@fido7.ru>
Message-ID: <7q5ccm$1i71$1@fantom.vsmu.vinnica.ua>
References: <7q3d0e$91l$1@fantom.vsmu.vinnica.ua> <87hflmk8jx.fsf@bakhtin.amt.ru>
NNTP-Posting-Host: ddt.demos.su
Mime-Version: 1.0
Content-Type: text/plain; charset=KOI8-U
Content-Transfer-Encoding: 8bit
X-Trace: ddt.demos.su 935736570 3603 194.87.13.37 (27 Aug 1999 06:49:30 GMT)
X-Complaints-To: gatekeeper@fido7.ru
NNTP-Posting-Date: 27 Aug 1999 06:49:30 GMT
X-BeforeModerator-Path: not-for-mail
X-BeforeModerator-NNTP-Posting-Host: fantom.vsmu.vinnica.ua
X-BeforeModerator-X-Trace: fantom.vsmu.vinnica.ua 935736534 51425 194.183.180.2 (27 Aug 1999 06:48:54 GMT)
X-BeforeModerator-X-Complaints-To: abuse@vsmu.vinnica.ua
X-BeforeModerator-NNTP-Posting-Date: 27 Aug 1999 06:48:54 GMT
User-Agent: tin/pre-1.4-19990624 ("Dawnrazor") (UNIX) (FreeBSD/3.2-RELEASE (i386))
Xref: freeland.alex-ua.com fido7.ru.unix:10146

Hello !

Alex Bakhtin <bakhtin@amt.ru> wrote:
AB> Может, зайдем с другой стороны? Вы пришлете конфиги, а мы их
AB> посмотрим?

Ok.

gated.conf
---------------------
traceoptions all ;

interfaces {
interface tun preference 100 passive;
interface lo preference 100 passive;
};

routerid x.x.x.x;

rip no;

ospf yes {
defaults {
preference 110;
cost 30;
};
backbone {
authtype none;
networks {
x.x.x.0 mask 255.255.255.192 ;
};
interface vx0 cost 300 {
retransmitinterval 30;
hellointerval 10;
routerdeadinterval 40;
enable;
priority 10;
};
};
};

# fake networks for corporative usage
static {
default gateway x.x.x.x;
10.0.0.0 mask 255.0.0.0 gateway 127.0.0.1 reject;
172.16.0.0 mask 255.240.0.0 gateway 127.0.0.1 reject;
192.168.0.0 mask 255.255.0.0 gateway 127.0.0.1 reject;
};

export proto ospfase type 1 restrict;
---------------------

Cisco config
------------
router ospf 1
redistribute connected subnets
redistribute connected subnets
network x.x.x.0 0.0.0.63 area 0
------------

Вот, в принципе, и все.

-- 
S/Y,
Alexander, M.D., TMCUA				nic-hdl: AJP-RIPE
-- end of forwarded message --

-- 
С тем, что не помешает никогда,
                                               Kittle