Adding a Static Route to rc.conf?

Chris Maness chris at chrismaness.com
Thu May 3 16:45:25 UTC 2012


On Tue, May 1, 2012 at 8:31 AM, Chris Maness <chris at chrismaness.com> wrote:
> How do add a static route to rc.conf?
>
> Thanks,
> Chris Maness


http://www.freebsd.org/doc/handbook/network-routing.html

see section 32.2.5.2 Persistent Configuration

 -- Noel Jones
>

I added:

# Add Internal Net 2 as a static route
static_routes="internalnet2"
route_internalnet2="-net 44.18.44.0/24 192.168.1.33"

to rc.conf per the section above.  I rebooted and it was a no go.  Did
I miss something?

Thanks,
Chris Maness


More information about the freebsd-questions mailing list