From owner-freebsd-current Sun May 2 3:30:44 1999 Delivered-To: freebsd-current@freebsd.org Received: from paert.tse-online.de (paert.tse-online.de [194.97.69.172]) by hub.freebsd.org (Postfix) with SMTP id 7225415292 for ; Sun, 2 May 1999 03:30:36 -0700 (PDT) (envelope-from ab@paert.tse-online.de) Received: (qmail 19659 invoked by uid 1000); 2 May 1999 10:45:00 -0000 Date: Sun, 2 May 1999 12:45:00 +0200 From: Andreas Braukmann To: current@FreeBSD.ORG Subject: Re: default route not set up?? Message-ID: <19990502124500.K6095@paert.tse-online.de> References: <372A1AE6.4E2738D4@odin-corporation.com> <372AF60B.E11A6989@newsguy.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95i In-Reply-To: ; from Dag-Erling Smorgrav on Sat, May 01, 1999 at 03:18:23PM +0200 Organization: TSE TeleService GmbH Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi, On Sat, May 01, 1999 at 03:18:23PM +0200, Dag-Erling Smorgrav wrote: > "Daniel C. Sobral" writes: > > Dag-Erling Smorgrav wrote: > > > # Configure routing interesting code deleted ... [..] > > Looking there, it *does* seem that there is a problem. defaultrouter > > is only used to set route_default, which is *not* used. At least on > > the code you quoted. > This is getting fun :) Look closer at the first line I commented, then > at the loop, and especially the eval. since I've stumbled over the same 'what the the hell is going on here?'-piece of shell script once upon a time, I've foreseen the further development of this after having read the first two messages. I had to set a few static routes, saw the empty 'static_routes' configuration variable and just didn't grasped "what to do know" with that variable. I considered, that there has to be some underlying 'magic' similar to the method used for the interface configuration. Despite of this cognition I had to jump head first into the rc.network script to investigate on 'how to use' the core variable (static_routes) and the supplementary variables the right way. It would be very nice, if 'somebody' (TM) would document the various 'dark magic' parts of the rc scripts. But, ... a person priviledged to setup the routing for a system (aka system administrator aka 'root') should really be able to parse 'sh'-code, shouldn't he? -Andreas -- : TSE TeleService GmbH : Gsf: Arne Reuter : : : Hovestrasse 14 : Andreas Braukmann : We do it with : : D-48351 Everswinkel : HRB: 1430, AG WAF : FreeBSD/SMP : :--------------------------------------------------------------------: : Anti-Spam Petition: http://www.politik-digital.de/spam/ : : PGP-Key: http://www.tse-online.de/~ab/public-key : : Key fingerprint: 12 13 EF BC 22 DD F4 B6 3C 25 C9 06 DC D3 45 9B : To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message