Need route add default after every reboot

thornton gonesurfing at
Sun Aug 17 08:28:56 PDT 2003

Putting "defaultrouter=" in rc.conf is easy for specifying an upstream
router. If you need to add other routes, for example to another subnet on
your LAN you can specify "static_routes=" in rc.conf to point to a list of
routes to add upon entering multiuser mode.  This list, i belive follows the
syntax of the route command. For example

add -net
where is the network you wish to access through the gateway  Hope this helps

----- Original Message ----- 
From: "Joachim Dagerot" <freebsd at>
To: "Freebsd" <freebsd-questions at>
Sent: Sunday, August 17, 2003 4:26 AM
Subject: Need route add default after every reboot

> I need to add a default route everytime I reboot.
> Where are these settings stored, what can I do to get the default route
> added automatically at a boot?
> _______________________________________________
> freebsd-questions at mailing list
> To unsubscribe, send any mail to
"freebsd-questions-unsubscribe at"

More information about the freebsd-questions mailing list