From owner-freebsd-questions Thu Aug 19 9:36:57 1999 Delivered-To: freebsd-questions@freebsd.org Received: from phoenix.aye.net (phoenix.aye.net [206.185.8.134]) by hub.freebsd.org (Postfix) with SMTP id 46AE915A1E for ; Thu, 19 Aug 1999 09:36:39 -0700 (PDT) (envelope-from barrett@phoenix.aye.net) Received: (qmail 8499 invoked by uid 1000); 19 Aug 1999 16:29:06 -0000 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 19 Aug 1999 16:29:06 -0000 Date: Thu, 19 Aug 1999 12:29:06 -0400 (EDT) From: Barrett Richardson To: Ed Baxter Cc: freebsd-questions@freebsd.org Subject: Re: how to stop route redirects In-Reply-To: <9908161526560P.13614@redhat> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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