From owner-freebsd-questions Fri Sep 22 3:34:36 2000 Delivered-To: freebsd-questions@freebsd.org Received: from ecngate.ecng.co.uk (ecngate.ecng.co.uk [193.128.139.1]) by hub.freebsd.org (Postfix) with ESMTP id E324337B422 for ; Fri, 22 Sep 2000 03:34:33 -0700 (PDT) Received: from norex01.ecng.co.uk (ecnwall.ecng.co.uk [193.128.139.225]) by ecngate.ecng.co.uk (8.9.3/8.9.3) with ESMTP id LAA01384 for ; Fri, 22 Sep 2000 11:36:19 GMT Received: by NOREX01 with Internet Mail Service (5.5.2448.0) id ; Fri, 22 Sep 2000 11:34:02 +0100 Message-ID: <11AB46936C37D2118B7C0008C7246A5D021184BD@NOREX01> From: "Deegan, Eddy" To: "'questions@freebsd.org'" Subject: Static_routes in rc.conf Date: Fri, 22 Sep 2000 11:34:00 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2448.0) Content-Type: text/plain; charset="iso-8859-1" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi, I want to use static_routes in rc.conf on release 4 to configure two predefined entries in the routing table autmatically on bootup. I tried various combinations of "destination gateway" strings but it's not seeming to work. Cutting and pasting the code out of rc.network reveals the eval statement therein which, fankly seems bizarre. I can't make head nor tail of what it's supposed to be doing. I cam completely unable to find any useful documentation on this feature on the freeBSD site, only oblique references to it being a feature for routers and multihomed machines (mine is neither but I want to configure a static route to an IP behind a firewall). What I actually want to achieve is to have the system set an equivalent to "route add 128.98.200.22 193.128.139.225" on bootup. Sure I could hack my own entry into rc.network but I want to use the standard mechanism. I just can't figure it out. Help?! -- Eddy Deegan BSc., New Media Systems Consultant MCSE / Sun Certified Solaris Administrator Eastern Counties Newspapers Ltd, Norwich, Norfolk, UK. Phone (Office): +44 (0) 1603 772623 http://www.ecn.co.uk eddy@deegan.com / http://eddy.deegan.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message