From owner-freebsd-net@FreeBSD.ORG Tue Jul 1 01:07:48 2008 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E58FD1065778 for ; Tue, 1 Jul 2008 01:07:48 +0000 (UTC) (envelope-from wilkinsa@obelix.dsto.defence.gov.au) Received: from digger1.defence.gov.au (digger1.defence.gov.au [203.5.217.4]) by mx1.freebsd.org (Postfix) with ESMTP id C1AD48FC1E for ; Tue, 1 Jul 2008 01:07:45 +0000 (UTC) (envelope-from wilkinsa@obelix.dsto.defence.gov.au) Received: from ednmsw510.dsto.defence.gov.au (ednmsw510.dsto.defence.gov.au [131.185.68.11]) by digger1.defence.gov.au (DSTO/DSTO) with ESMTP id m6117DmO021690 for ; Tue, 1 Jul 2008 10:37:13 +0930 (CST) Received: from fmbex510.dsto.defence.gov.au (fmbex510.dsto.defence.gov.au) by ednmsw510.dsto.defence.gov.au (Clearswift SMTPRS 5.2.9) with ESMTP id for ; Tue, 1 Jul 2008 10:37:44 +0930 Received: from stlex510.dsto.defence.gov.au ([203.6.60.184]) by fmbex510.dsto.defence.gov.au with Microsoft SMTPSVC(6.0.3790.1830); Tue, 1 Jul 2008 11:07:44 +1000 Received: from obelix.dsto.defence.gov.au ([203.6.60.208]) by stlex510.dsto.defence.gov.au with Microsoft SMTPSVC(6.0.3790.1830); Tue, 1 Jul 2008 09:07:43 +0800 Received: from obelix.dsto.defence.gov.au (localhost [127.0.0.1]) by obelix.dsto.defence.gov.au (8.14.2/8.14.2) with ESMTP id m6117HM4007592 for ; Tue, 1 Jul 2008 09:07:17 +0800 (WST) (envelope-from wilkinsa@obelix.dsto.defence.gov.au) Received: (from wilkinsa@localhost) by obelix.dsto.defence.gov.au (8.14.2/8.14.2/Submit) id m6117HLf007591 for freebsd-net@freebsd.org; Tue, 1 Jul 2008 09:07:17 +0800 (WST) (envelope-from wilkinsa) Date: Tue, 1 Jul 2008 09:07:17 +0800 From: "Wilkinson, Alex" To: freebsd-net@freebsd.org Message-ID: <20080701010716.GF3898@stlux503.dsto.defence.gov.au> Mail-Followup-To: freebsd-net@freebsd.org References: <4867420D.7090406@gtcomm.net> <200806301944.m5UJifJD081781@lava.sentex.ca> <20080701004346.GA3898@stlux503.dsto.defence.gov.au> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: Organisation: Defence Science Technology Organisation User-Agent: Mutt/1.5.18 (2008-05-17) X-OriginalArrivalTime: 01 Jul 2008 01:07:43.0407 (UTC) FILETIME=[DD9FF3F0:01C8DB16] X-TM-AS-Product-Ver: SMEX-7.0.0.1526-5.5.1027-16002.007 X-TM-AS-Result: No--6.981000-0.000000-31 Content-Transfer-Encoding: 7bit Subject: Re: Freebsd IP Forwarding performance (question, and some info) [7-stable, current, em, smp] 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: Tue, 01 Jul 2008 01:07:49 -0000 0n Tue, Jul 01, 2008 at 03:00:31AM +0200, Ingo Flaschberger wrote: >Dear Alex, > >> >OK, I setup 2 boxes on either end of a RELENG_7 box from about May >> >7th just now, to see with 2 boxes blasting across it how it would >> >work. *However*, this is with no firewall loaded and, I must enable >> >ip fast forwarding. Without that enabled, the box just falls over. >> >> What is "ip fast forwarding" ? > >instead of copying the while ip packet into system memory, only the ip >header is copyied and then in a "fast" path determined if it could be fast >forwarded. >if possible, a ned header is created at the other network-cards-buffer >and the ip-data is copied from network-card-buffer to network-card-buffer >directly. So how does one enable "ip fast forwarding" on FreeBSD ? -aW IMPORTANT: This email remains the property of the Australian Defence Organisation and is subject to the jurisdiction of section 70 of the CRIMES ACT 1914. If you have received this email in error, you are requested to contact the sender and delete the email.