From owner-freebsd-questions@FreeBSD.ORG Thu May 3 17:41:34 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 82593106564A for ; Thu, 3 May 2012 17:41:34 +0000 (UTC) (envelope-from noeldude@gmail.com) Received: from mail-yw0-f54.google.com (mail-yw0-f54.google.com [209.85.213.54]) by mx1.freebsd.org (Postfix) with ESMTP id 388CA8FC12 for ; Thu, 3 May 2012 17:41:34 +0000 (UTC) Received: by yhgm50 with SMTP id m50so2009210yhg.13 for ; Thu, 03 May 2012 10:41:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:x-enigmail-version:content-type :content-transfer-encoding; bh=mbMeYftluym/PujiMxgeHUrN2Ap2osoJo6NbygTQYpA=; b=0zZAsWkRLL67RggXq1f3O3Ff46Hccz3OdcM8TTIsMqgOa0csr9EKoIn+QrFdPNWMhb TKGJ+uIbh1EnB7JDkjq5tDOkGnhkagrabdfu6pEZxhBNCJtn89w1E7lBHuGrJELmE3Fy UyuWwiYb5hGDHNvKFkDFEiOp3g4XgtBO7TrFu+LI86+HcbTC3vTLIE0eP6jbYTPRJb/X mcQ6Nvf2Vo3oH2+CyZFrCM8RtUiKihDbpS3YimA9tqxfHE4l+/ZSTclDpQ65orX4jkxA zp7/8gKncNJr8D7Vx6lnaG565Cub5ELmTx0zYIxp5rjbTNLm/5GLDE/itRanIGYMAw22 3PpA== Received: by 10.236.9.35 with SMTP id 23mr4052659yhs.41.1336066499407; Thu, 03 May 2012 10:34:59 -0700 (PDT) Received: from [192.168.70.186] ([12.107.221.2]) by mx.google.com with ESMTPS id q44sm26171251yhg.3.2012.05.03.10.34.58 (version=SSLv3 cipher=OTHER); Thu, 03 May 2012 10:34:58 -0700 (PDT) Message-ID: <4FA2C1C2.9000905@gmail.com> Date: Thu, 03 May 2012 12:34:58 -0500 From: Noel User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:12.0) Gecko/20120428 Thunderbird/12.0.1 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: In-Reply-To: X-Enigmail-Version: 1.4.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: Adding a Static Route to rc.conf? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 May 2012 17:41:34 -0000 On 5/3/2012 11:45 AM, Chris Maness wrote: > On Tue, May 1, 2012 at 8:31 AM, Chris Maness wrote: >> How do add a static route to rc.conf? >> >> Thanks, >> Chris Maness > > http://www.freebsd.org/doc/handbook/network-routing.html > > see section 32.2.5.2 Persistent Configuration > > -- Noel Jones > I added: > > # Add Internal Net 2 as a static route > static_routes="internalnet2" > route_internalnet2="-net 44.18.44.0/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 http://www.freebsd.org/cgi/man.cgi?query=rc.conf&sektion=5 (near the bottom) -- Noel Jones