*BSD News Article 56219


Return to BSD News archive

Newsgroups: comp.unix.bsd.bsdi.misc
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!nntp.coast.net!lll-winken.llnl.gov!enews.sgi.com!sgigate.sgi.com!swrinde!newsfeed.internetmci.com!in2.uu.net!spcuna!spcvxb!terry
From: terry@spcvxb.spc.edu (Terry Kennedy, Operations Mgr.)
Subject: Re: default gateway entry periodically missing..
Nntp-Posting-Host: spcvxa.spc.edu
References: <49jr31$626@wolfe.wimsey.com>
Sender: news@spcuna.spc.edu (Network News)
Organization: St. Peter's College, US
Date: Thu, 30 Nov 1995 12:39:22 GMT
Message-ID: <1995Nov30.073922.1@spcvxb.spc.edu>
Lines: 25

In article <49jr31$626@wolfe.wimsey.com>, jbrongo@vanbc.wimsey.com (Joe Brongo) writes:
> Sometimes the default entry is deleted for some unknown reason.
> I want to knwo the reason and how to avoid it.

  You're running routed. It has a "feature" that static routes are replaced
by dynamic ones, and when the dynamic route goes away, instead of the static
route reappearing, there isn't any route at all.

  You probably have a router which is announcing the default network via RIP.
You can either not run routed on the BSDI box or fix the router to not send
announcements for the routes you want to keep static. For a Cisco router,
you'd use something like:

router rip
distribute-list 40 out
!
access-list 40 deny 0.0.0.0
access-list 40 permit 0.0.0.0 255.255.255.255

  This will block announcements of the default route (0.0.0.0) but allow all
other announcements. You can add additional networks by adding more deny lines.

	Terry Kennedy		  Operations Manager, Academic Computing
	terry@spcvxa.spc.edu	  St. Peter's College, Jersey City, NJ USA
        +1 201 915 9381 (voice)   +1 201 435-3662 (FAX)