From owner-freebsd-net@FreeBSD.ORG Wed Oct 20 20:11:07 2004 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 8597A16A4CE for ; Wed, 20 Oct 2004 20:11:07 +0000 (GMT) Received: from pmout02.st1.spray.net (pmout02.st1.spray.net [212.78.207.242]) by mx1.FreeBSD.org (Postfix) with ESMTP id CCCDF43D5A for ; Wed, 20 Oct 2004 20:11:06 +0000 (GMT) (envelope-from omikjam@spray.se) Received: from pmcodec01.st1.spray.net (pmcodec01.st1.spray.net [212.78.207.206]) by pmout02.st1.spray.net (Postfix) with SMTP id 1171286EF for ; Wed, 20 Oct 2004 20:11:05 +0000 (GMT) From: "Erik Mossberg" To: freebsd-net@freebsd.org Message-ID: <1098303064020497@lycos-europe.com> X-Mailer: LycosMail X-Originating-IP: [213.67.20.137] Mime-Version: 1.0 Date: Wed, 20 Oct 2004 20:11:04 GMT Content-Type: multipart/mixed; boundary="=_NextPart_Lycos_0204971098303064_ID" X-Content-Filtered-By: Mailman/MimeDel 2.1.1 Subject: GRE tunnel problem om FreeBSD 5.2.1 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, 20 Oct 2004 20:11:07 -0000 This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. --=_NextPart_Lycos_0204971098303064_ID Content-Transfer-Encoding: 7bit MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Hello, I have a weird problem with a GRE tunnel, the setup is as follows; gre0: flags=b051 mtu 1476 tunnel inet 213.67.20.137 --> 194.145.248.113 inet 194.145.248.138 --> 194.145.248.137 netmask 0xfffffffc And I've tried both w/ and w/o the link1 option mentioned in the man page for gre. and netstat -rn -f inet: Destination Gateway Flags Refs Use Netif Expire default 213.67.20.1 UGS 17 19250541 rl1 127.0.0.1 127.0.0.1 UH 1 1802 lo0 192.168.0 link#1 UC 0 0 rl0 192.168.0.54 00:04:75:c8:18:d8 UHLW 2 5683090 rl0 608 192.168.0.55 link#1 UHLW 2 140 rl0 192.168.0.91 00:0d:54:9a:d2:d1 UHLW 0 13538 rl0 1039 192.168.0.95 00:0d:88:81:fd:98 UHLW 0 766395 rl0 5 192.168.5.2 192.168.5.1 UH 0 12 gif2 194.145.248.137 194.145.248.138 UH 0 1177 gre0 213.67.20 link#2 UC 0 0 rl1 213.67.20.1 00:10:67:00:c4:39 UHLW 1 0 rl1 234 213.67.20.108 00:10:67:00:c4:39 UHLW 0 12 rl1 822 213.67.20.137 127.0.0.1 UGHS 0 136 lo0 when I try to ping 194.195.248.137 I have a 95% packet loss, but when pinging from remote to 194.145.248.138 works just fine with no packet loss. tcpdump -eni rl1 shows this: 22:05:55.148354 0:10:a7:13:bf:58 0:10:67:0:c4:39 0800 122: 213.67.20.137 > 194.145.248.113: gre (frag 49403:88@752+) 22:05:56.158351 0:10:a7:13:bf:58 0:10:67:0:c4:39 0800 122: 213.67.20.137 > 194.145.248.113: gre (frag 49410:88@51176) Sometimes the packet 1 or 2 packets goes through and gets a reply though. I use: FreeBSD 5.2.1-RELEASE-p5 #3: Sun Apr 18 22:25:17 CEST 2004 omicron@fisken:/usr/obj/usr/src/sys/merltock i386 When google-ing for this problem I found this: http://lists.freebsd.org/pipermail/freebsd-current/2004-February/02039 4.html Which seems to be the same problem, can the bug have been brought back afterwards? I hope I didn't miss any info.. Regards, Erik --=_NextPart_Lycos_0204971098303064_ID--