From owner-freebsd-questions@FreeBSD.ORG Sun Apr 18 13:40:58 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9CC7A16A4CE for ; Sun, 18 Apr 2004 13:40:58 -0700 (PDT) Received: from smtp.orbitel.bg (smtp.orbitel.bg [195.24.32.22]) by mx1.FreeBSD.org (Postfix) with SMTP id C5B2A43D53 for ; Sun, 18 Apr 2004 13:40:56 -0700 (PDT) (envelope-from shaggy@vip.bg) Received: (qmail 1378 invoked from network); 18 Apr 2004 20:40:54 -0000 Received: from localhost (127.0.0.1) by smtp.orbitel.bg with SMTP; 18 Apr 2004 20:40:54 -0000 Received: from smtp.orbitel.bg ([127.0.0.1]) by localhost (goliampraz.orbitel.bg [127.0.0.1]) (amavisd-new, port 10024) with SMTP id 15750-40 for ; Sun, 18 Apr 2004 23:40:53 +0300 (EEST) Received: (qmail 1326 invoked from network); 18 Apr 2004 20:40:53 -0000 Received: from smtp.orbitel.bg (HELO localhost) (195.24.32.22) by smtp.orbitel.bg with SMTP; 18 Apr 2004 20:40:53 -0000 Received: from 82.147.153.245 ( [82.147.153.245]) as user shaggy@vip.bg@localhost by mail.orbitel.bg with HTTP; Sun, 18 Apr 2004 23:40:53 +0300 Message-ID: <1082320853.4082e7d55aae7@mail.orbitel.bg> Date: Sun, 18 Apr 2004 23:40:53 +0300 From: shaggy@vip.bg To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=windows-1251 Content-Transfer-Encoding: 8bit User-Agent: Internet Messaging Program (IMP) 3.1 X-Originating-IP: 82.147.153.245 X-Virus-Scanned: by amavisd-new at orbitel.bg Subject: Routing and mpd as pptp client on FeeeBSD 5.2 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Apr 2004 20:40:58 -0000 Hi, I have a problem using mpd as a PPTP client on FreeBSD 5.2. The connection is successfully established but I can't do anything with it. Using tcpdump I can see that GRE packets are sent through the rl0 interface during the connection establishing but later they are sent over the ng0. If I connect from a box that's behind the FreeBSD one and cut an open connection, clear NAT state and connect from the FreeBSD box I can see using tcpdump the reply packets for that connection on the ng0 interface. If I try to ping the other end - the PPTP server I get: PING 82.147.153.3 (82.147.153.3): 56 data bytes ping: sendto: Resource deadlock avoided ping: sendto: No buffer space available ping: sendto: No buffer space available ping: sendto: No buffer space available rl0 is 192.168.20.30, ng0 is 192.168.120.30 -> 192.168.3.37 netstat -rn Destination Gateway Flags Refs Use Netif Expire default 192.168.3.37 UGS 0 4 ng0 192.168.3.37 192.168.120.30 UH 1 2 ng0 192.168.0/16 192.168.20.1 UGS 0 69442 rl0 192.168.16/21 link#1 UC 0 0 rl0 192.168.20.1 00:c0:26:25:a6:18 UHLW 1 0 rl0 1143 192.168.20.30 127.0.0.1 UGHS 0 0 lo0 192.168.120.30 lo0 UHS 0 0 lo0 I also have captured this using tcpdump on the ng0 interface: 23:02:57.637259 192.168.120.30 > 82.147.153.3: icmp: echo request 23:02:57.667220 192.168.20.30.49490 > 192.168.3.37.1723: P 0:16(16) ack 1 win 65535: pptp CTRL_MSGTYPE=ECHORQ ID(1) (DF) 23:03:06.946714 62.73.99.35.6667 > 192.168.120.30.33639: P 0:21(21) ack 1 win 8192 (DF) [tos 0x50] 23:03:06.957383 192.168.20.30 > 192.168.3.37: gre [KAv1] ID:0000 A:11 [|gre] 23:03:09.227401 192.168.20.30.49490 > 192.168.3.37.1723: P 0:16(16) ack 1 win 65535: pptp CTRL_MSGTYPE=ECHORQ ID(1) (DF) 23:03:19.667567 192.168.20.30.49490 > 192.168.3.37.1723: P 0:16(16) ack 1 win 65535: pptp CTRL_MSGTYPE=ECHORQ ID(1) (DF) 23:03:38.094932 62.73.99.35.6667 > 192.168.120.30.33639: P 0:21(21) ack 1 win 8192 (DF) [tos 0x50] 23:03:38.107868 192.168.20.30 > 192.168.3.37: gre [KAv1] ID:0000 A:12 [|gre] tcpdump: pcap_loop: read: Device not configured