Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Aug 1999 12:29:06 -0400 (EDT)
From:      Barrett Richardson <barrett@phoenix.aye.net>
To:        Ed Baxter <Ed.Baxter@pii.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: how to stop route redirects
Message-ID:  <Pine.BSF.4.01.9908191220450.1701-100000@phoenix.aye.net>
In-Reply-To: <9908161526560P.13614@redhat>

next in thread | previous in thread | raw e-mail | index | archive | help


On Mon, 16 Aug 1999, Ed Baxter wrote:

> How can I force freebsd 2.2.5 stable to ignore route redirects? Routed is turned off and
> I tried specifying these routes as static routes but one of our routers sends redirects
> when there is a WAN hiccup and internal traffic gets routed out to the internet
> (default for the router). The static routes also get over ridden by the redirects. The
> redirect would be fine except that when the WAN is back up the freebsd machine never
> changes back. The Corp WAN guy has turned RIP off for the entire WAN so I think my only
> option is to get the Freebsd machine to ignore the redirects. 
> 
> I noticed that even without routed my route table contains "learned" routes and keeps
> growing. Is it possible to turn this behavior off (would probably solve my redirect
> problem). We have Sun Solaris machines that without routed contain only a couple routes
> in their route table and it never changes. I would prefer this behavior.
> 
> Thanks for any help you can give...
> 
> Ed Baxter   
> 
> 

Try running gated. With a config like:

--- cut ---
redirect off;
rip off;
--- cut --

You may want to toss any static routes you have in there. Gated
will monitor the routing socket and attempt to undo any changes
that redirects have done.

-

Barrett



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.01.9908191220450.1701-100000>