Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Aug 2003 11:28:51 -0400
From:      "thornton" <gonesurfing@nc.rr.com>
To:        "Joachim Dagerot" <freebsd@dagerot.nu>, "Freebsd" <freebsd-questions@freebsd.org>
Subject:   Re: Need route add default 192.xxx after every reboot
Message-ID:  <004f01c364d4$43617290$0300a8c0@Nicoya>
References:  <1061108811.763.3.camel@big.dagerot.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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@dagerot.nu>
To: "Freebsd" <freebsd-questions@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@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
"freebsd-questions-unsubscribe@freebsd.org"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?004f01c364d4$43617290$0300a8c0>