From owner-freebsd-questions@FreeBSD.ORG Fri Sep 2 10:42:56 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4FE3D1065670 for ; Fri, 2 Sep 2011 10:42:56 +0000 (UTC) (envelope-from mbeis@xs4all.nl) Received: from smtp-vbr10.xs4all.nl (smtp-vbr10.xs4all.nl [194.109.24.30]) by mx1.freebsd.org (Postfix) with ESMTP id BC7028FC18 for ; Fri, 2 Sep 2011 10:42:55 +0000 (UTC) Received: from yokozuna.lan (a80-101-78-208.adsl.xs4all.nl [80.101.78.208]) by smtp-vbr10.xs4all.nl (8.13.8/8.13.8) with ESMTP id p82AgN0w070526 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 2 Sep 2011 12:42:23 +0200 (CEST) (envelope-from mbeis@xs4all.nl) Received: from yokozuna.lan (yokozuna.lan [IPv6:::1]) by yokozuna.lan (8.14.4/8.14.4) with ESMTP id p82AgNJU004342; Fri, 2 Sep 2011 12:42:23 +0200 (CEST) (envelope-from mbeis@xs4all.nl) Date: Fri, 2 Sep 2011 12:42:23 +0200 (CEST) From: Marco Beishuizen To: =?KOI8-R?B?68/O2MvP1yDl18fFzsnK?= In-Reply-To: <638737527.20110902093153@yandex.ru> Message-ID: References: <4E5E8A93.1010006@sentex.net> <123778406.20110901225021@yandex.ru> <638737527.20110902093153@yandex.ru> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="394277907-846441665-1314960143=:3027" X-Virus-Scanned: by XS4ALL Virus Scanner Cc: freebsd-questions@freebsd.org, Mike Tancsa Subject: Re[3]: vpn using pptpclient in FreeBSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Marco Beishuizen List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Sep 2011 10:42:56 -0000 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--