From owner-freebsd-net@FreeBSD.ORG Wed Apr 30 09:56:51 2003 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 435AC37B401 for ; Wed, 30 Apr 2003 09:56:51 -0700 (PDT) Received: from mgw1.MEIway.com (mgw1.meiway.com [212.73.210.75]) by mx1.FreeBSD.org (Postfix) with ESMTP id C60CC43FD7 for ; Wed, 30 Apr 2003 09:56:49 -0700 (PDT) (envelope-from ericdahan@MEIway.com) Received: from VirusGate.MEIway.com (virus-gate.meiway.com [212.73.210.91]) by mgw1.MEIway.com (Postfix Relay Hub) with ESMTP id 64EBCEF42C; Wed, 30 Apr 2003 18:52:10 +0200 (CEST) Received: from localhost (localhost.meiway.com [127.0.0.1]) by VirusGate.MEIway.com (Postfix) with SMTP id A862B5D00A; Wed, 30 Apr 2003 18:57:45 +0200 (CEST) Received: from ms1.meiway.com (ms1.meiway.com [212.73.210.73]) by VirusGate.MEIway.com (Postfix) with ESMTP id 42AC75D009; Wed, 30 Apr 2003 18:57:45 +0200 (CEST) Received: from EDA_VAIO.meiway.com [193.252.44.38] by ms1.meiway.com with ESMTP (SMTPD32-6.06) id A52211E800DE; Wed, 30 Apr 2003 19:17:22 +0200 Message-Id: <5.2.0.9.0.20030430184244.06919e80@ms1.meiway.com> X-Sender: ericdahan@meiway.com@ms1.meiway.com X-Mailer: QUALCOMM Windows Eudora Version 5.2.0.9 Date: Wed, 30 Apr 2003 18:56:35 +0200 To: Alexandre Kardanev From: Eric Dahan In-Reply-To: References: <5.2.0.9.0.20030429131254.04cb8cd8@ms1.meiway.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Content-Filtered-By: Mailman/MimeDel 2.1.1 cc: freebsd-net@freebsd.org Subject: Re: MPD error : "error writing len 27 frame to bypass: No route to host" X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Apr 2003 16:56:51 -0000 > >You forgot "set iface addr ..." command. It is REQUIRED for inbound calls. Ok When i modify the mdp.conf : default: load pptp pptp: new -i ng0 pptp pptp set iface disable on-demand set iface enable proxy-arp set iface addrs 2.2.2.2 192.168.1.1 set iface route 192.168.1.0/24 set bundle disable multilink set bundle authname "Name" set bundle password "Password" set bundle enable encryption set link yes acfcomp protocomp set link disable pap set link enable chap set link keep-alive 10 60 set ipcp enable vjcomp set ipcp ranges 2.2.2.2/32 192.168.1.1/32 set ipcp dns 193.252.19.3 set bundle enable compression set ccp enable mppc set ccp enable mpp-e40 set ccp enable mpp-e128 set ccp yes mpp-stateless set bundle enable crypt-reqd The error is the even in this case : (( Nota : The PPTP server is started on the firewall (ipf and ipnat loaded) that is connected to the Lan (192.168.1.0/24). Thank you for taking the time to help out. Multi-link PPP for FreeBSD, by Archie L. Cobbs. Based on iij-ppp, by Toshiharu OHNO. mpd: pid 3329, version 3.13 (root@freebsd.org 11:25 19-Apr-2003) [pptp] ppp node is "mpd3329-pptp" mpd: local IP address for PPTP is 2.2.2.2 [pptp] using interface ng0 [pptp:pptp] mpd: PPTP connection from 1.1.1.1:13013 pptp0: attached to connection with 1.1.1.1:13013 [pptp] IFACE: Open event [pptp] IPCP: Open event [pptp] IPCP: state change Initial --> Starting [pptp] IPCP: LayerStart [pptp] IPCP: Open event [pptp] bundle: OPEN event in state CLOSED [pptp] opening link "pptp"... [pptp] link: OPEN event [pptp] LCP: Open event [pptp] LCP: state change Initial --> Starting [pptp] LCP: LayerStart [pptp] device: OPEN event in state DOWN [pptp] attaching to peer's outgoing call [pptp] device is now in state OPENING [pptp] device: UP event in state OPENING [pptp] device is now in state UP [pptp] link: UP event [pptp] link: origination is remote [pptp] LCP: Up event [pptp] LCP: state change Starting --> Req-Sent [pptp] LCP: phase shift DEAD --> ESTABLISH [pptp] LCP: SendConfigReq #1 ACFCOMP PROTOCOMP MRU 1500 MAGICNUM 44f2b21f AUTHPROTO CHAP MSOFTv2 [pptp] error writing len 27 frame to bypass: No route to host pptp0-0: ignoring SetLinkInfo [pptp] LCP: SendConfigReq #2 ACFCOMP PROTOCOMP MRU 1500 MAGICNUM 44f2b21f AUTHPROTO CHAP MSOFTv2 [pptp] error writing len 27 frame to bypass: No route to host [pptp] LCP: SendConfigReq #3 ACFCOMP PROTOCOMP MRU 1500 MAGICNUM 44f2b21f AUTHPROTO CHAP MSOFTv2 ^Cmpd: caught fatal signal int mpd: fatal error, exiting [pptp] IPCP: Down event [pptp] IFACE: Close event [pptp] IPCP: Close event [pptp] IPCP: state change Starting --> Initial