Subject: Re: ipf fastroute next-hop?
To: None <tech-net@netbsd.org>
From: Greg A. Woods <woods@weird.com>
List: tech-net
Date: 04/22/2002 13:37:00
[ On Monday, April 22, 2002 at 11:46:43 (+1000), Darren Reed wrote: ]
> Subject: Re: ipf fastroute next-hop?
>
> In some email I received from der Mouse, sie wrote:
> [Charset iso-8859-1 unsupported, filtering to ASCII...]
> > When using ipf's "fastroute" option to redirect a packet out an
> > interface, what controls the next-hop address used?
> > 
> > For example, if I do
> > 
> > 	pass out quick fastroute le1 on le0 from 10.0.0.0/8 to any
> > 
> > to redirect all traffic that would normally go out le0, but which comes
> > from 10/8, out le1 instead, how do I control the next-hop gateway
> > address used when sending the packet out le1?  (For example, if the arp
> > table for le1 is empty, what controls what address will be arped for?)
> 
> pass out quick on le0 to le1:ne.xt.h.op from 10.0.0.0/8 to any

hmmmm.... thanks for the hint!  I had thought that only worked for
"dup-to" (and that's the only place it's semi-documented :-)
 

-- 
								Greg A. Woods

+1 416 218-0098;  <gwoods@acm.org>;  <g.a.woods@ieee.org>;  <woods@robohack.ca>
Planix, Inc. <woods@planix.com>; VE3TCP; Secrets of the Weird <woods@weird.com>