Adding a Static Route to rc.conf?
noeldude at gmail.com
Thu May 3 18:43:40 UTC 2012
On 5/3/2012 1:08 PM, Michael Sierchio wrote:
> On Thu, May 3, 2012 at 10:34 AM, Noel <noeldude at gmail.com
> <mailto:noeldude at gmail.com>> wrote:
> On 5/3/2012 11:45 AM, Chris Maness wrote:
> > On Tue, May 1, 2012 at 8:31 AM, Chris Maness <chris at
> chrismaness.com <http://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 220.127.116.11 Persistent Configuration
> > -- Noel Jones
> > I added:
> > # Add Internal Net 2 as a static route
> > static_routes="internalnet2"
> > route_internalnet2="-net 18.104.22.168/24
> <http://22.214.171.124/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
> (near the bottom)
> This is 9.X-specific advice, and this option doesn't exist in 8-
> or prior.
Indeed, I should have mentioned that if you have freebsd-8x or
earlier, this feature isn't built-in but can be easily added:
Or the earlier discussion:
-- Noel Jones
More information about the freebsd-questions