vpn using pptpclient in FreeBSD

Marco Beishuizen mbeis at xs4all.nl
Fri Sep 2 10:42:56 UTC 2011

On Fri, 2 Sep 2011, the wise Коньков Евгений wrote:

>> set iface route
> you say that behind tunnele thereis subnet, but
> MB> [B1] ->
> you have address from subnet addres on local machine
> so you get this message:
> MB> Loop detected on ng0
> add routes only for subnets that on the other end of tunnel and not
> local
>>> set iface route
> also you may remove  'iface route' from config. and setup tunnel.
> after that try to ping the other end: ping
> add route by hand:
> # route add XXXXXXXX/X
> # route add YYYYYYYY/Y

My local machine has ip 192.168.x.x. IP 130.115.x.x is the university 
network I want to connect to. When setting the "iface route" to, the connection doesn't work either:
[B1] IPCP: state change Ack-Sent --> Opened
[B1] IPCP: LayerUp
[B1] ->
[B1] IFACE: Add route failed: File exists
[B1] IFACE: Up event

With the "iface route" removed, the other end is not 
pingable, so there is no connection in this case.

Don't try to have the last word -- you might get it.
 		-- Lazarus Long

More information about the freebsd-questions mailing list