Setting up routes correctly for FBSD box to access WAN

Garrett Cooper youshi10 at u.washington.edu
Sun Sep 18 16:08:38 PDT 2005


On Sep 18, 2005, at 3:14 PM, Kelly D. Grills wrote:

> 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
>

     Excellent, that's just what I needed. Thanks!
-Garrett


More information about the freebsd-questions mailing list