From owner-freebsd-net Wed Jun 27 21:34:54 2001 Delivered-To: freebsd-net@freebsd.org Received: from softweyr.com (softweyr.com [208.247.99.111]) by hub.freebsd.org (Postfix) with ESMTP id B242C37B401; Wed, 27 Jun 2001 21:34:49 -0700 (PDT) (envelope-from wes@softweyr.com) Received: from localhost.softweyr.com ([127.0.0.1] helo=softweyr.com ident=b83b0451914e861ceb0e64216a91711c) by softweyr.com with esmtp (Exim 3.16 #1) id 15FTaK-000099-00; Wed, 27 Jun 2001 22:39:20 -0600 Message-ID: <3B3AB4F8.184A2EFE@softweyr.com> Date: Wed, 27 Jun 2001 22:39:20 -0600 From: Wes Peters Organization: Softweyr LLC X-Mailer: Mozilla 4.75 [en] (X11; U; Linux 2.2.12 i386) X-Accept-Language: en MIME-Version: 1.0 To: Ruslan Ermilov Cc: Deepak Jain , net@FreeBSD.org, hackers@FreeBSD.org Subject: Re: fastforwarding? References: <20010626093545.D49992@sunbay.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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 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-net" in the body of the message