From owner-freebsd-questions@FreeBSD.ORG Tue Jan 2 02:04:24 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 9EA6716A403 for ; Tue, 2 Jan 2007 02:04:24 +0000 (UTC) (envelope-from mksmith@adhost.com) Received: from mail-in02.adhost.com (mail-da01.adhost.com [216.211.128.142]) by mx1.freebsd.org (Postfix) with ESMTP id 8947E13C44C for ; Tue, 2 Jan 2007 02:04:24 +0000 (UTC) (envelope-from mksmith@adhost.com) Received: from ad-exh01.adhost.lan (unknown [216.211.143.69]) by mail-in02.adhost.com (Postfix) with ESMTP id 4E1AF2BD84B; Mon, 1 Jan 2007 18:04:24 -0800 (PST) (envelope-from mksmith@adhost.com) Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-MimeOLE: Produced By Microsoft Exchange V6.5 Date: Mon, 1 Jan 2007 18:04:06 -0800 Message-ID: <17838240D9A5544AAA5FF95F8D5203160187DF4F@ad-exh01.adhost.lan> In-Reply-To: <20070101171719.m22egzl60ocws0sw@ix.khmerserver.net> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Routing thread-index: AcctkEVOReOQl5IqTO2DpfmYWKy5EwAgZMsg From: "Michael K. Smith - Adhost" To: "Office of the CIO-rithy4u.NET" , Cc: Subject: RE: Routing 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: Tue, 02 Jan 2007 02:04:24 -0000 > -----Original Message----- > From: owner-freebsd-questions@freebsd.org [mailto:owner-freebsd- > questions@freebsd.org] On Behalf Of Office of the CIO-rithy4u.NET > Sent: Monday, January 01, 2007 2:17 AM > To: freebsd-questions@freebsd.org > Subject: Routing >=20 > I try to do dual routing on my freebsd box but its was not > sucecssfull. any one can help? >=20 Hello: With very little information, I'm guessing you mean, "how do I route through a FreeBSD box from one NIC to another?" First, as root, 'sysctl net.inet.ip.forwarding=3D1' and then update /etc/sysctl.conf with 'net.inet.ip.forwarding=3D1' so it is available after reboot. Second, in /etc/rc.conf, put 'gateway_enable=3D"YES"' After that, you'll have to provide more information about your configuration to receive more specific information about configuration guidelines. Regards, Mike