From owner-freebsd-questions@FreeBSD.ORG Sun Aug 17 08:28:56 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 63B5137B401 for ; Sun, 17 Aug 2003 08:28:56 -0700 (PDT) Received: from ms-smtp-01.southeast.rr.com (ms-smtp-01.southeast.rr.com [24.93.67.82]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9C27143F93 for ; Sun, 17 Aug 2003 08:28:55 -0700 (PDT) (envelope-from gonesurfing@nc.rr.com) Received: from Nicoya (rdu26-237-214.nc.rr.com [66.26.237.214]) h7HFM6cs005287; Sun, 17 Aug 2003 11:22:06 -0400 (EDT) Message-ID: <004f01c364d4$43617290$0300a8c0@Nicoya> From: "thornton" To: "Joachim Dagerot" , "Freebsd" References: <1061108811.763.3.camel@big.dagerot.com> Date: Sun, 17 Aug 2003 11:28:51 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Subject: Re: Need route add default 192.xxx after every reboot X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 Aug 2003 15:28:56 -0000 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" To: "Freebsd" 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"