From owner-freebsd-questions Thu May 11 21:58:19 2000 Delivered-To: freebsd-questions@freebsd.org Received: from dt051n0b.san.rr.com (dt051n0b.san.rr.com [204.210.32.11]) by hub.freebsd.org (Postfix) with ESMTP id 172C137B8CB for ; Thu, 11 May 2000 21:58:16 -0700 (PDT) (envelope-from DougB@gorean.org) Received: from gorean.org (doug@master [10.0.0.2]) by dt051n0b.san.rr.com (8.9.3/8.9.3) with ESMTP id VAA10058; Thu, 11 May 2000 21:58:14 -0700 (PDT) (envelope-from DougB@gorean.org) Message-ID: <391B8F66.CF89817@gorean.org> Date: Thu, 11 May 2000 21:58:14 -0700 From: Doug Barton Organization: Triborough Bridge & Tunnel Authority X-Mailer: Mozilla 4.72 [en] (X11; U; FreeBSD 5.0-CURRENT-0508 i386) X-Accept-Language: en MIME-Version: 1.0 To: Harry Putnam Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Set a default route - with no broken bones References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Harry Putnam wrote: > > After grappling with the BSD OS for 2days now, I feel like I've been in > the ring with Tyson. (I'll admit it hasn't bit me yet) > > The ins and outs of using ifconfig are winning most rounds. A few > simple examples would be nice in that man page. Setting a default > route must be a common need with ifconfig. You have to use route to set the default route, although that's usually done at boot with the information you supply in /etc/rc.conf[.local]. Specifically: route add default 11.22.33.44 (supply your own IP, obviously). Good luck, Doug -- "Live free or die" - State motto of my ancestral homeland, New Hampshire Do YOU Yahoo!? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message