From owner-freebsd-net@freebsd.org Fri Dec 4 15:28:03 2015 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B7703A411B4 for ; Fri, 4 Dec 2015 15:28:03 +0000 (UTC) (envelope-from eugen@grosbein.net) Received: from hz.grosbein.net (hz.grosbein.net [78.47.246.247]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "hz.grosbein.net", Issuer "hz.grosbein.net" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 422C71DE9 for ; Fri, 4 Dec 2015 15:28:02 +0000 (UTC) (envelope-from eugen@grosbein.net) Received: from eg.sd.rdtc.ru (root@eg.sd.rdtc.ru [62.231.161.221]) by hz.grosbein.net (8.14.9/8.14.9) with ESMTP id tB4F1Qts011014 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Fri, 4 Dec 2015 16:01:27 +0100 (CET) (envelope-from eugen@grosbein.net) X-Envelope-From: eugen@grosbein.net X-Envelope-To: nvass@gmx.com Received: from eg.sd.rdtc.ru (eugen@localhost [127.0.0.1]) by eg.sd.rdtc.ru (8.15.2/8.15.2) with ESMTP id tB4F1KrD003048; Fri, 4 Dec 2015 22:01:20 +0700 (KRAT) (envelope-from eugen@grosbein.net) Subject: Re: etherip (or gif) tunnel blues To: Nikos Vassiliadis , FreeBSD Net References: <5660DC8B.1090309@gmx.com> From: Eugene Grosbein Message-ID: <5661AAC0.4000308@grosbein.net> Date: Fri, 4 Dec 2015 22:01:20 +0700 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0 MIME-Version: 1.0 In-Reply-To: <5660DC8B.1090309@gmx.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=0.3 required=5.0 tests=BAYES_00,LOCAL_FROM, T_DATE_IN_FUTURE_96_Q autolearn=no version=3.3.2 X-Spam-Report: * 0.0 T_DATE_IN_FUTURE_96_Q Date: is 4 days to 4 months after Received: * date * -2.3 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * 2.6 LOCAL_FROM From my domains X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on hz.grosbein.net X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Dec 2015 15:28:03 -0000 On 04.12.2015 07:21, Nikos Vassiliadis wrote: > Hi, > > we use ETHERIP to connect two remote locations and we discovered > something that looks like a bug. A packet of specific size > cannot go through the tunnel. > > Correct behavior: >> root@prometheus:~ # ping -s 1450 10.65.0.1 >> PING 10.65.0.1 (10.65.0.1): 1450 data bytes >> 1458 bytes from 10.65.0.1: icmp_seq=0 ttl=64 time=0.302 ms >> 1458 bytes from 10.65.0.1: icmp_seq=1 ttl=64 time=0.267 ms >> 1458 bytes from 10.65.0.1: icmp_seq=2 ttl=64 time=0.275 ms >> 1458 bytes from 10.65.0.1: icmp_seq=3 ttl=64 time=0.274 ms >> ^C >> --- 10.65.0.1 ping statistics --- >> 4 packets transmitted, 4 packets received, 0.0% packet loss >> round-trip min/avg/max/stddev = 0.267/0.279/0.302/0.013 ms > > If size is reduced to 1449 then the problem appears: >> root@prometheus:~ # ping -s 1449 10.65.0.1 >> PING 10.65.0.1 (10.65.0.1): 1449 data bytes >> ^C >> --- 10.65.0.1 ping statistics --- >> 7 packets transmitted, 0 packets received, 100.0% packet loss You should show output of ifconfig for your gif and bridge interfaces and obtain tcpdump output for them at sending and receiving side.