Adding a Static Route to rc.conf?

Chris Maness chris at chrismaness.com
Thu May 3 17:50:32 UTC 2012


>>
>> # 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?
>
> Looks OK, and works for me.  Wild guess is you need to enable
> netwait in rc.conf
> http://www.freebsd.org/cgi/man.cgi?query=rc.conf&sektion=5
> (near the bottom)
>
>
>  -- Noel Jones

I will check that option out.  I don't reboot that often, but when I
do, I always forget to go back in and add my static routes.

Thanks,
Chris Maness


More information about the freebsd-questions mailing list