Date: Sun, 2 May 1999 12:45:00 +0200 From: Andreas Braukmann <braukmann@tse-online.de> To: current@FreeBSD.ORG Subject: Re: default route not set up?? Message-ID: <19990502124500.K6095@paert.tse-online.de> In-Reply-To: <xzpiuadvsgw.fsf@flood.ping.uio.no>; from Dag-Erling Smorgrav on Sat, May 01, 1999 at 03:18:23PM %2B0200 References: <372A1AE6.4E2738D4@odin-corporation.com> <xzpn1zpvyup.fsf@flood.ping.uio.no> <372AF60B.E11A6989@newsguy.com> <xzpiuadvsgw.fsf@flood.ping.uio.no>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi, On Sat, May 01, 1999 at 03:18:23PM +0200, Dag-Erling Smorgrav wrote: > "Daniel C. Sobral" <dcs@newsguy.com> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990502124500.K6095>