From owner-freebsd-net Fri Jun 29 17:17:27 2001 Delivered-To: freebsd-net@freebsd.org Received: from aries.ai.net (aries.ai.net [205.134.163.4]) by hub.freebsd.org (Postfix) with ESMTP id 9F99137B403; Fri, 29 Jun 2001 17:17:20 -0700 (PDT) (envelope-from deepak@ai.net) Received: from blood (adsl-138-88-72-201.dc.adsl.bellatlantic.net [138.88.72.201]) by aries.ai.net (8.9.3/8.9.3) with SMTP id UAA28838; Fri, 29 Jun 2001 20:19:23 -0400 (EDT) (envelope-from deepak@ai.net) Reply-To: From: "Deepak Jain" To: "Wes Peters" , "Ruslan Ermilov" Cc: , Subject: RE: fastforwarding? Date: Fri, 29 Jun 2001 20:21:11 -0400 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 In-Reply-To: <3B3AB4F8.184A2EFE@softweyr.com> Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Thanks, this explanation is far more clear. It is much similar to fast switching on a Cisco or similar piece of gear. DJ -----Original Message----- From: owner-freebsd-hackers@FreeBSD.ORG [mailto:owner-freebsd-hackers@FreeBSD.ORG]On Behalf Of Wes Peters Sent: Thursday, June 28, 2001 12:39 AM To: Ruslan Ermilov Cc: Deepak Jain; net@FreeBSD.ORG; hackers@FreeBSD.ORG Subject: Re: fastforwarding? Ruslan Ermilov wrote: > > On Mon, Jun 25, 2001 at 06:47:41PM -0400, Deepak Jain wrote: > > sysctl -A |grep forward > > net.inet.ip.forwarding: 1 > > net.inet.ip.fastforwarding: 0 > > machdep.forward_irq_enabled: 1 > > machdep.forward_signal_enabled: 1 > > machdep.forward_roundrobin_enabled: 1 > > > > What does the fastforwarding option do that the normal forwarding option > > doesn't? > > > See inet(4). The description there isn't very forthcoming. fastforwarding caches the results of a route lookup for destination addresses that are not on the local machine, and uses the cached route to short-circuit the normal (relatively slow) route lookup process. The packet flows directly from one layer2 input routine directly to the opposing layer2 output routine without traversing the IP layer. -- "Where am I, and what am I doing in this handbasket?" Wes Peters Softweyr LLC wes@softweyr.com http://softweyr.com/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message