Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 Sep 2005 17:14:41 -0500
From:      "Kelly D. Grills" <kdgrills@the-grills.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: Setting up routes correctly for FBSD box to access WAN
Message-ID:  <20050918221431.GA10610@the-grills.com>
In-Reply-To: <D24CD846-2DEF-4AFB-AC92-B0B19ACC0257@u.washington.edu>
References:  <D24CD846-2DEF-4AFB-AC92-B0B19ACC0257@u.washington.edu>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
On Sun, Sep 18, 2005 at 11:24:36AM -0700, Garrett Cooper wrote:

>     So my question is, how do I properly set the value for gateway  
> for the FBSD machine or use the route command to create a static  
> route for all IP values not 192.168.1.0/20?

You need set the default router in /etc/rc.conf :

defaultrouter="NO"              # Set to default gateway (or NO).

See rc.conf(5)

-- 
Kelly D. Grills
kdgrills@the-grills.com

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (FreeBSD)
Comment: PGP key: mailto:kdgrills-pgpkey@the-grills.com

iD8DBQFDLebG7inS5LzF7HMRAj9sAJ4yPWe2mvSWANWB8gr7JA7YuXrKSQCcDJu9
8TeEgxUP2J8Yzy/KIdi1Tp0=
=glQG
-----END PGP SIGNATURE-----

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050918221431.GA10610>