Setting up routes correctly for FBSD box to access WAN

Kelly D. Grills kdgrills at the-grills.com
Sun Sep 18 15:14:44 PDT 2005


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 at the-grills.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 243 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20050918/e950ff34/attachment.bin


More information about the freebsd-questions mailing list