Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Jun 2001 22:39:20 -0600
From:      Wes Peters <wes@softweyr.com>
To:        Ruslan Ermilov <ru@FreeBSD.org>
Cc:        Deepak Jain <deepak@ai.net>, net@FreeBSD.org, hackers@FreeBSD.org
Subject:   Re: fastforwarding?
Message-ID:  <3B3AB4F8.184A2EFE@softweyr.com>
References:  <GPEOJKGHAMKFIOMAGMDICEOJDGAA.deepak@ai.net> <20010626093545.D49992@sunbay.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3B3AB4F8.184A2EFE>