From owner-freebsd-net@FreeBSD.ORG Wed Apr 3 16:45:15 2013 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id F3EB8310 for ; Wed, 3 Apr 2013 16:45:14 +0000 (UTC) (envelope-from emz@norma.perm.ru) Received: from elf.hq.norma.perm.ru (unknown [IPv6:2001:470:1f09:14c0::2]) by mx1.freebsd.org (Postfix) with ESMTP id A6A4AF45 for ; Wed, 3 Apr 2013 16:45:14 +0000 (UTC) Received: from [192.168.248.34] ([192.168.248.34]) by elf.hq.norma.perm.ru (8.14.5/8.14.5) with ESMTP id r33Gj6vb014670 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO) for ; Wed, 3 Apr 2013 22:45:07 +0600 (YEKT) (envelope-from emz@norma.perm.ru) Message-ID: <515C5C8C.50708@norma.perm.ru> Date: Wed, 03 Apr 2013 22:45:00 +0600 From: "Eugene M. Zheganin" User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130307 Thunderbird/17.0.4 MIME-Version: 1.0 To: freebsd-net@freebsd.org Subject: Re: gre tunnel woes References: <20130403150053.GC5100@calendar.blacquiere.nl> <20130403181747.0fa7677e@zeta.dino.sk> In-Reply-To: <20130403181747.0fa7677e@zeta.dino.sk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (elf.hq.norma.perm.ru [192.168.3.10]); Wed, 03 Apr 2013 22:45:08 +0600 (YEKT) X-Spam-Status: No hits=-101.0 bayes=0.5 testhits ALL_TRUSTED=-1, USER_IN_WHITELIST=-100 autolearn=unavailable version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on elf.hq.norma.perm.ru X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.14 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, 03 Apr 2013 16:45:15 -0000 Hi. On 03.04.2013 22:17, Milan Obuch wrote: > Well, I am struggling with this too, and now I just use /etc/rc.local > containing > > #!/bin/sh > > ifconfig gre0 up > ifconfig gre1 up > > to bring tunnels to real life. Maybe not that nice, but simple and > working. > > It's an ancient bug; it's reported in GNATS ( http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/164475 - it was known long before the report, once I just decided to actually put it in GNATS; unfortunately, it wasn't fixed). Actually, as I can remember, this was never working since gre(4) was introduced in 4.x (for various reasons). It's somehow related with default route for the tunnel remote end, but anyway this still isn't fixed. And yeah, everyone who's using gre is using some sort of custom rc script to fix the RUNNING flag after a boot. Eugene.