Subject: Re: Routing pppd clients through a netbsd pppd server
To: None <tech-net@NetBSD.org>
From: David Young <dyoung@pobox.com>
List: tech-net
Date: 02/19/2007 15:57:58
On Mon, Feb 19, 2007 at 10:52:17AM -0800, Stephen Jones wrote:
> 
> On Feb 17, 2007, at 12:00 PM, Matthias Scheler wrote:
> 
> >If they IP addresses are part of a subnet which is configured on  
> >one of the
> >local network interface it will work. I've used something similar on a
> >NetBSD system acting as an IPsec VPN gateway.
> 
> Yes, that does work using proxyarp as long as the addresses are on  
> the same
> subnet.  But what if they're not?  Can NetBSD still do it? If I try  
> to set a
> public interface NetBSD apparently claims it lacks intuition (though  
> FreeBSD
> folks say this is typo, it makes sense):
> 
> ># arp -s 192.168.0.201 xx:xx:xx:xx:xx:xx pub
> >cannot intuit interface index and type for 192.168.0.20

ISTR you can set this sort of entry with route(8) using the wacky syntax,
int0:xx.xx.xx.xx.xx.xx, where int0 is the interface.  I will have to do
some archaeology to find the details.

Dave

-- 
David Young             OJC Technologies
dyoung@ojctech.com      Urbana, IL * (217) 278-3933