From owner-freebsd-questions@FreeBSD.ORG Mon Apr 14 08:10:59 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 CD33237B401 for ; Mon, 14 Apr 2003 08:10:59 -0700 (PDT) Received: from kurdistan.ath.cx (adsl-64-169-155-173.dsl.chic01.pacbell.net [64.169.155.173]) by mx1.FreeBSD.org (Postfix) with ESMTP id 10A7B43F3F for ; Mon, 14 Apr 2003 08:10:59 -0700 (PDT) (envelope-from sereciya@kurdistan.ath.cx) Received: from kurdistan.ath.cx (ns1 [127.0.0.1]) by kurdistan.ath.cx (8.12.8/8.12.6) with ESMTP id h3EFAx04089026 for ; Mon, 14 Apr 2003 08:10:59 -0700 (PDT) (envelope-from sereciya@kurdistan.ath.cx) Received: (from sereciya@localhost) by kurdistan.ath.cx (8.12.8/8.12.6/Submit) id h3EFAxsg089025 for freebsd-questions@freebsd.org; Mon, 14 Apr 2003 08:10:59 -0700 (PDT) Date: Mon, 14 Apr 2003 08:10:59 -0700 From: =?unknown-8bit?Q?S=EAr=EAciya_Kurdistan=EE?= To: freebsd-questions@freebsd.org Message-ID: <20030414151059.GC33167@kurdistan.ath.cx> References: <20030414125318.C5CC.FREEBSD@euro.net.mk> Mime-Version: 1.0 Content-Type: text/plain; charset=unknown-8bit Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20030414125318.C5CC.FREEBSD@euro.net.mk> User-Agent: Mutt/1.4i Subject: Re: add permanent route 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: Mon, 14 Apr 2003 15:11:00 -0000 Hello, > How do I make a "route add" permanent (meaning that the static route > will remain when I reboot) ? You'll need to edit your /etc/rc.conf, the config should look something like this: static_routes="private public" route_private=" -net 10.0.0.0 -interface 10.0.0.1" route_public=" -net 212.1.2.0 -interface 212.1.2.1" "private" and "public" are just names, you can have only one, or you can have twenty, change the names as you please. > How do I set "sysctl net.inet.ip.forwarding=1" in the kernel? I cant > seem to find the the option to set ip.forwarding in the kernel. easy ;) try: "sysctl net.inet.ip.forwarding=1" You're welcome in advance, --$êrêciya Kurdistanî +--------------------------------------------------------------+ | Welat xwe ava nake, dest bidin hevdu, pist nedin tu dijminî | | Riya azadiyê ne hêsan e, hêviya xwe bernedin, dema me | | nêzîk e. | | | | Hevaltî bi kesên du rû nekin, hevaltî bi hevdu ra bikin | | Ne ji hevaltiya wan kesên pêxwas û rû dirêj, ne bi wan | | kesên xwînperest, ne jî ji yên din. | | | | -$êrêciya Kurdistanî | +--------------------------------------------------------------+ translation provided on request: sereciya@kurdistan.ath.cx