Subject: Re: Tunneling question.
To: Mattias Karlsson <mattias.karlsson@nocom.se>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: netbsd-users
Date: 07/26/2002 20:32:49
On Fri, Jul 26, 2002 at 02:11:09PM +0200, Mattias Karlsson wrote:
> Opened up a bit. Problem still remains...
> 
> B can just ping/use 198, A can ping 198 and 197 but just connect to 198.
> 
> 
> ON B:
> 
> aa.bb.cc.197      link#2             UHLc        0        6   1500  ex1
> aa.bb.cc.198      aa.bb.cc.197      UH          0       34   1500  ppp0
> aa.bb.cc.198      00:01:02:a2:a5:3f  UHLS2       0        0   1500  ex1
> 
> 
> ON A:
> 
> aa.bb.cc.197      aa.bb.cc.198      UH          0       12      -  ppp0
> 
> 
> Outside boxes can't do nothing... out and in of ppp0 on both boxes is 
> open now.

You may need to open aa.bb.cc.197 and aa.bb.cc.198 on other interfaces too,
on B.
Also, the full routing tables could help, but I suspect you don't have a
default route on A, or have a default route not pointing to the right
interface.

> 
> Heh, still don't understand what is meant by local and remote IPs?
 ppp is a point to point protocol. local is the address of the local end
 of the link, remote of the remote end of the link, from the host's view
 (so local and remote are inversed on the other end of the link).

> 
> Since proxyarp is used in the ppp section of vtund.conf, vtun should 
> setup the routing tables correct, right?

on B, yes. But on A it won't set up the default route if you don't tell it to
do so. It's independant from proxyarp.

-- 
Manuel Bouyer <bouyer@antioche.eu.org>
--