Subject: Routing pppd clients through a netbsd pppd server
To: None <tech-net@NetBSD.org>
From: Stephen Jones <smj@cirr.com>
List: tech-net
Date: 02/16/2007 12:15:43
There is plenty of information on using pppd to get a NetBSD machine  
connected
to the internet, but I'm having a bit or trouble finding information  
on using
NetBSD as a pppd server and routing its pppd clients to the public  
internet.

Based on the pppd man page, I would assume that you could use  
'proxyarp' and/or
'defaultroute' to do this.  What I'm finding is that if I use a  
routed network
address for the ppp client proxyarp'ing will work, but packets still  
don't seem
to get routed any further.

If I try to use proxyarp with a non-routed network address then the  
arp -s will
fail on the server's public interface with this obscure error message:

> cannot intuit interface index and type for

It looks like there is a bug report for FreeBSD claiming that  
"intuit" is a typo
of 'init'

Basically what I'd like to do is have the NetBSD pppd server proxy  
for a range
of non-routed and act as their gateway.  Is this possible?