Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Jun 2001 20:21:11 -0400
From:      "Deepak Jain" <deepak@ai.net>
To:        "Wes Peters" <wes@softweyr.com>, "Ruslan Ermilov" <ru@FreeBSD.ORG>
Cc:        <net@FreeBSD.ORG>, <hackers@FreeBSD.ORG>
Subject:   RE: fastforwarding?
Message-ID:  <GPEOJKGHAMKFIOMAGMDIOEENDJAA.deepak@ai.net>
In-Reply-To: <3B3AB4F8.184A2EFE@softweyr.com>

next in thread | previous in thread | raw e-mail | index | archive | help

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?GPEOJKGHAMKFIOMAGMDIOEENDJAA.deepak>