From owner-freebsd-net@FreeBSD.ORG Fri Sep 9 02:44:58 2005 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 75B5416A41F for ; Fri, 9 Sep 2005 02:44:58 +0000 (GMT) (envelope-from gnn@neville-neil.com) Received: from mrout1.yahoo.com (mrout1.yahoo.com [216.145.54.171]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3DE0A43D49 for ; Fri, 9 Sep 2005 02:44:58 +0000 (GMT) (envelope-from gnn@neville-neil.com) Received: from guest-157.lobby.yahoo.com.neville-neil.com (proxy8.corp.yahoo.com [216.145.48.13]) by mrout1.yahoo.com (8.13.4/8.13.4/y.out) with ESMTP id j892iJfc017978; Thu, 8 Sep 2005 19:44:19 -0700 (PDT) Date: Thu, 08 Sep 2005 19:03:37 -0700 Message-ID: From: gnn@freebsd.org To: Marcin Jessa In-Reply-To: <20050908221115.038c3abd.lists@yazzy.org> References: <20050908221115.038c3abd.lists@yazzy.org> User-Agent: Wanderlust/2.12.2 (99 Luftballons) SEMI/1.14.6 (Maruoka) FLIM/1.14.7 (=?ISO-8859-4?Q?Sanj=F2?=) APEL/10.6 Emacs/21.3.50 (powerpc-apple-darwin8.1.0) MULE/5.0 (SAKAKI) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Cc: freebsd-net@freebsd.org Subject: Re: net.inet.ip.forwarding and net.inet.ip.fastforwarding X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Sep 2005 02:44:58 -0000 At Thu, 8 Sep 2005 22:11:15 +0000, Marcin Jessa wrote: > > Hi guys. > > What's the difference between net.inet.ip.forwarding and > net.inet.ip.fastforwarding ? > What's the role of net.inet.ip.fastforwarding ? > net.inet.ip.fastforwarding tells the network code to send packets through a different code path through the kernel, one which can forward packets more quickly than the default code path. The fast forwarding path does minimal checks on packets that are not destined for the computer acting as a router before forwarding the packet. The necessary checks are made, but no more than those that are necessary, this speeds up packet processing when packets are being routed between interface. net.inet.ip.forwarding controls whether or not the computer acting as a router will forward packets at all. The default value is false, which means that packets are NOT forwarded. This variable must be set explicitly by the user or administrator for FreeBSD to act as a router. I hope this helps, George