*BSD News Article 78097


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!metro!metro!asstdc.scgt.oz.au!nsw.news.telstra.net!act.news.telstra.net!imci3!newsfeed.internetmci.com!swrinde!news.sgi.com!news-peer.gsl.net!news.gsl.net!news.mathworks.com!uunet!in3.uu.net!news.mc.net!usenet
From: mikec@mc.net (Michael Cantonwine)
Newsgroups: comp.unix.bsd.bsdi.misc
Subject: Gated configuration w/ OSPF
Date: 11 Sep 1996 21:39:20 GMT
Organization: McHenryCom
Lines: 67
Message-ID: <517bi9$g5r@news.mc.net>
NNTP-Posting-Host: hoofdpijn.mc.net
Summary: gated ospf
Keywords: gated ospf
X-Newsreader: NN version 6.5.0 CURRENT #19

Hi,
	I'm trying to get gated-R3_6Alpha_2 to run ospf between
	a few bsdi boxes that I have acting as routers.  I'm 
	trying to puzzle out what I need to do from the manual,
	but no OSPF examples are given.  I want to put all the
	routers in area 0, as there is no need for me to go
	beyond having a simple backbone, and I want them to 
	share and receive all routing data outside of their
	default routes and simple interface routes (the sort
	of stuff you get from ifconfig).  Does anybody have
	a sample gated.conf for OSPF that could point me
	in the right direction?  I have one running on my machine
	(not a router) that I'll include here, but it's not exporting
	the routes to another machine correctly.  I guess I'm not
	sure what I'm doing wrong as I'm a gated beginner.  Thanks
	in advance for any help.


----Included gated.conf file


traceoptions "/var/log/gatedlog" size 20k files 2 general;

ospf yes {
  traceoptions "/var/log/ospflog" size 50k files 2 spf state;

  backbone {
     interface ef0;
     networks {
	206.138.8.0  mask 255.255.248.0;
	207.79.112.0 mask 255.255.240.0;
     };
  };

};

static {
   default gateway 206.138.8.1 retain;
   206.138.9.0 gateway 206.138.8.6 retain;
   206.138.10.0 gateway 206.138.8.4;
   206.138.11.0 gateway 206.138.8.4;
   206.138.12.0 gateway 206.138.8.8;
   206.138.13.0 gateway 206.138.8.8;
   206.138.14.0 gateway 206.138.8.29;
   207.79.113.64 mask 255.255.255.224 gateway 206.138.8.8;
   207.79.113.96 mask 255.255.255.224 gateway 206.138.8.6;
   207.79.113.128 mask 255.255.255.224 gateway 206.138.8.8;
   207.79.115.64 mask 255.255.255.224 gateway 206.138.8.3;
};

export proto ospfase {
   proto static {
	206.138.9.0;
	206.138.10.0;
	206.138.11.0;
	206.138.12.0;
	206.138.13.0;
	206.138.14.0;
	207.79.113.64 mask 255.255.255.224;
   };
};

--
----
Mike Cantonwine                                "Count the Moon."
Systems Administrator                          "One."
mikec@mc.net                                   "Whoa...."