From owner-freebsd-net@FreeBSD.ORG Fri Sep 9 01:40:49 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 6263816A41F for ; Fri, 9 Sep 2005 01:40:49 +0000 (GMT) (envelope-from matt@gsicomp.on.ca) Received: from skippyii.compar.com (www.compar.com [216.208.38.130]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7B5D243D45 for ; Fri, 9 Sep 2005 01:40:47 +0000 (GMT) (envelope-from matt@gsicomp.on.ca) Received: from hermes (CPE00062566c7bb-CM000039c69a66.cpe.net.cable.rogers.com [70.28.254.189]) by skippyii.compar.com (8.13.1/8.13.1) with ESMTP id j891fCb5032053; Thu, 8 Sep 2005 21:41:18 -0400 (EDT) (envelope-from matt@gsicomp.on.ca) Message-ID: <004701c5b4df$9207d260$1200a8c0@gsicomp.on.ca> From: "Matt Emmerton" To: "Marcin Jessa" , References: <20050908221115.038c3abd.lists@yazzy.org> Date: Thu, 8 Sep 2005 21:41:06 -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.1506 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1506 Cc: 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 01:40:49 -0000 > 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 ? >From inet(4): IPCTL_FORWARDING (ip.forwarding) Boolean: enable/disable forwarding of IP packets. Defaults to off. IPCTL_FASTFORWARDING (ip.fastforwarding) Boolean: enable/disable the use of fast IP forwarding code. Defaults to off. When fast forwarding is enabled, IP packets are for- warded directly to the appropriate network inter- face with a minimal validity checking, which greatly improves the throughput. On the other hand, they bypass the standard procedures, such as IP option processing and ipfirewall(4) checking. It is not guaranteed that every packet will be fast-forwarded. -- Matt Emmerton