Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 2 Sep 2011 12:42:23 +0200 (CEST)
From:      Marco Beishuizen <mbeis@xs4all.nl>
To:        =?KOI8-R?B?68/O2MvP1yDl18fFzsnK?= <kes-kes@yandex.ru>
Cc:        freebsd-questions@freebsd.org, Mike Tancsa <mike@sentex.net>
Subject:   Re[3]: vpn using pptpclient in FreeBSD
Message-ID:  <alpine.BSF.2.00.1109021232490.3027@yokozuna.lan>
In-Reply-To: <638737527.20110902093153@yandex.ru>
References:  <alpine.BSF.2.00.1108302340540.3063@yokozuna.lan> <4E5E8A93.1010006@sentex.net> <alpine.BSF.2.00.1108312159370.9385@yokozuna.lan> <123778406.20110901225021@yandex.ru> <alpine.BSF.2.00.1109012218560.2952@yokozuna.lan> <638737527.20110902093153@yandex.ru>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
  This message is in MIME format.  The first part should be readable text,
  while the remaining parts are likely unreadable without MIME-aware tools.

--394277907-846441665-1314960143=:3027
Content-Type: TEXT/PLAIN; charset=windows-1251; format=flowed
Content-Transfer-Encoding: QUOTED-PRINTABLE

On Fri, 2 Sep 2011, the wise =CA=EE=ED=FC=EA=EE=E2 =C5=E2=E3=E5=ED=E8=E9 wr=
ote:

>> set iface route 130.115.0.0/16
> you say that behind tunnele thereis 130.115.0.0/16 subnet, but
> MB> [B1]   130.115.85.11 -> 130.115.3.35
> you have address from subnet 130.115.0.0/16 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 130.115.0.0/16
>
> also you may remove  'iface route' from config. and setup tunnel.
> after that try to ping the other end: ping 130.115.3.35
> add route by hand:
> # route add XXXXXXXX/X 130.115.3.35
> # route add YYYYYYYY/Y 130.115.3.35

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

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

Marco
--=20
Don't try to have the last word -- you might get it.
 =09=09-- Lazarus Long
--394277907-846441665-1314960143=:3027--



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.1109021232490.3027>