From owner-freebsd-questions@FreeBSD.ORG Sat Sep 3 18:14:22 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 CCEC9106564A for ; Sat, 3 Sep 2011 18:14:22 +0000 (UTC) (envelope-from kes-kes@yandex.ru) Received: from forward7.mail.yandex.net (forward7.mail.yandex.net [IPv6:2a02:6b8:0:202::2]) by mx1.freebsd.org (Postfix) with ESMTP id 489BC8FC13 for ; Sat, 3 Sep 2011 18:14:22 +0000 (UTC) Received: from smtp9.mail.yandex.net (smtp9.mail.yandex.net [77.88.61.35]) by forward7.mail.yandex.net (Yandex) with ESMTP id AB74C1C1921; Sat, 3 Sep 2011 22:14:20 +0400 (MSD) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1315073660; bh=e+bT2XT/otCTsoy2fgUHiXQo9Y0sS4xIzPYhm+FvRvg=; h=Date:From:Reply-To:Message-ID:To:CC:Subject:In-Reply-To: References:MIME-Version:Content-Type:Content-Transfer-Encoding; b=m92YiFddwMwkn9rajkhJFWlVbh95wJ6bL6MQVDvC99ERpTCR601ztc64/7eqzKjIz JC2E4gsq+2RW5WGrMddGFjgdb0eomIe+mA0sJ7KTcLJ7b0oYkH+Y0v/X2I+qO8ebdT rLAspcSKWxgCmF9WeyEwnJz8XcwGGaH9QMvy7Weo= Received: from smtp9.mail.yandex.net (localhost [127.0.0.1]) by smtp9.mail.yandex.net (Yandex) with ESMTP id 8A3BD1520263; Sat, 3 Sep 2011 22:14:20 +0400 (MSD) Received: from 46-185-28-188-mltp.broadband.kyivstar.net (46-185-28-188-mltp.broadband.kyivstar.net [46.185.28.188]) by smtp9.mail.yandex.net (nwsmtp/Yandex) with ESMTP id EK0Sgd7h; Sat, 3 Sep 2011 22:14:20 +0400 X-Yandex-Spam: 1 Date: Sat, 3 Sep 2011 21:14:16 +0300 From: =?windows-1251?B?yu7t/Oru4iDF4uPl7ejp?= X-Mailer: The Bat! (v4.0.24) Professional Organization: =?windows-1251?B?188gyu7t/Oru4iwgRnJlZUxpbmU=?= X-Priority: 3 (Normal) Message-ID: <523859952.20110903211416@yandex.ru> To: Marco Beishuizen In-Reply-To: References: <4E5E8A93.1010006@sentex.net> <123778406.20110901225021@yandex.ru> <638737527.20110902093153@yandex.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=windows-1251 Content-Transfer-Encoding: 8bit Cc: freebsd-questions@freebsd.org, Mike Tancsa Subject: Re[4]: vpn using pptpclient in FreeBSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: =?windows-1251?B?yu7t/Oru4iDF4uPl7ejp?= List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Sep 2011 18:14:22 -0000 Здравствуйте, Marco. Вы писали 2 сентября 2011 г., 13:42:23: MB> On Fri, 2 Sep 2011, the wise Коньков Евгений wrote: >>> 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 MB> My local machine has ip 192.168.x.x. IP 130.115.x.x is the university MB> network I want to connect to. When setting the "iface route" to MB> 192.168.0.0/16, the connection doesn't work either: MB> ... MB> [B1] IPCP: state change Ack-Sent --> Opened MB> [B1] IPCP: LayerUp MB> [B1] 130.115.77.2 -> 130.115.3.34 MB> [B1] IFACE: Add route 192.168.1.0/24 130.115.3.34 failed: File exists MB> [B1] IFACE: Up event MB> ... MB> With the "iface route" removed, the other end 130.115.3.34 is not MB> pingable, so there is no connection in this case. MB> Marco Please describe your networks fully also I ask to send output of: ifconfig netstat -nr -- С уважением, Коньков mailto:kes-kes@yandex.ru