From owner-freebsd-current@FreeBSD.ORG Wed Feb 4 01:19:10 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BEF8416A4CE for ; Wed, 4 Feb 2004 01:19:10 -0800 (PST) Received: from www.russia.cz (mail.russia.cz [195.70.151.35]) by mx1.FreeBSD.org (Postfix) with ESMTP id F34C843D45 for ; Wed, 4 Feb 2004 01:19:07 -0800 (PST) (envelope-from sobomax@portaone.com) Received: from portaone.com (localhost [127.0.0.1]) (authenticated bits=0) by www.russia.cz (8.12.8p2/8.12.8) with ESMTP id i149InfZ024683; Wed, 4 Feb 2004 10:18:59 +0100 (CET) (envelope-from sobomax@portaone.com) Message-ID: <4020B8FB.80203@portaone.com> Date: Wed, 04 Feb 2004 11:18:51 +0200 From: Maxim Sobolev User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax) X-Accept-Language: en-us, en, ru, uk MIME-Version: 1.0 To: tomasv@megalogika.lt References: <20040204084717.GB72285@megalogika.lt> In-Reply-To: <20040204084717.GB72285@megalogika.lt> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Mailman-Approved-At: Wed, 04 Feb 2004 05:09:46 -0800 cc: freebsd-current@FreeBSD.ORG Subject: Re: 5.2.1-RC if_gre problems X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Feb 2004 09:19:11 -0000 I've committed a fix several days ago, please try to upgrade to current and see if it helps. -Maxim Tomas Verbaitis wrote: > ahoj! > > i had 5-CURRENT as of Dec 10, and if_gre tunnel to some unknown Cisco > router was running ok. then i upgraded to 5.2-RELEASE and the tunnel > went down. 5.2.1-RC is no better as well (perhaps, because of the same > 1.14 revision of sys/net/if_gre.c). the only symptom making sense to me > is that tcpdump shows mostly some weird fragments and shows a 'proper' > packet going out only rarely (right after an ifconfig gre0): > > 00:19:43.595205 0:c:f1:8a:e1:f1 0:a0:c9:92:cd:4c ip 98: margo > om-vlvpn0: gre margo-omni-smsc > omni-margo-tun: icmp: echo request [ttl 1] (id 33753, len 60) (ttl 30, id 4101, len 84) > 00:19:43.599861 0:a0:c9:92:cd:4c 0:c:f1:8a:e1:f1 ip 98: om-vlvpn0 > margo: gre omni-margo-tun > margo-omni-smsc: icmp: echo reply (ttl 255, id 33753, len 60) (ttl 252, id 46495, len 84) > 00:19:43.600197 0:c:f1:8a:e1:f1 0:a0:c9:92:cd:4c ip 98: margo > om-vlvpn0: gre (frag 4105:64@56192) (ttl 30, len 84) > 00:19:48.607214 0:c:f1:8a:e1:f1 0:a0:c9:92:cd:4c ip 98: margo > om-vlvpn0: gre (frag 4129:64@64) (ttl 30, len 84) > > help?.. :) > > ifconfig: > gre0: flags=b051 mtu 1476 > tunnel inet 213.226.139.60 --> 195.22.176.207 > inet 193.110.9.78 --> 193.110.9.77 netmask 0xffffff00 > > routing table: > omni-margo-tun gre0 UHS 0 0 gre0 > margo-omni-tun localhost UGHS 0 0 lo0 > > > omni-margo-tun is the other end of the tunnel > margo-omni-tun is the local end of the tunnel > > gre0 creation: > /sbin/ifconfig gre0 create > /sbin/ifconfig gre0 margo-omni-tun omni-margo-tun link0 up > /sbin/ifconfig gre0 tunnel margo om-vlvpn0 > > /sbin/route add -host margo-omni-tun localhost > /sbin/route add -host omni-margo-tun margo-omni-tun > >