Need route add default 192.xxx after every reboot
thornton
gonesurfing at nc.rr.com
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 192.168.100.0 192.168.0.8
where 192.168.100.0 is the network you wish to access through the gateway
192.168.0.8. Hope this helps
----- Original Message -----
From: "Joachim Dagerot" <freebsd at dagerot.nu>
To: "Freebsd" <freebsd-questions at freebsd.org>
Sent: Sunday, August 17, 2003 4:26 AM
Subject: Need route add default 192.xxx 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 freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
"freebsd-questions-unsubscribe at freebsd.org"
More information about the freebsd-questions
mailing list