Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 Apr 2004 23:40:53 +0300
From:      shaggy@vip.bg
To:        freebsd-questions@freebsd.org
Subject:   Routing and mpd as pptp client on FeeeBSD 5.2
Message-ID:  <1082320853.4082e7d55aae7@mail.orbitel.bg>

next in thread | raw e-mail | index | archive | help
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 <nop,nop,timestamp 570915101 3117573> (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 <nop,nop,timestamp 570918273 3117573> (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





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1082320853.4082e7d55aae7>