From owner-freebsd-net@FreeBSD.ORG Wed Apr 3 15:21:42 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 CB3B6733 for ; Wed, 3 Apr 2013 15:21:42 +0000 (UTC) (envelope-from andrnils@gmail.com) Received: from mail-oa0-f52.google.com (mail-oa0-f52.google.com [209.85.219.52]) by mx1.freebsd.org (Postfix) with ESMTP id 9BBCE901 for ; Wed, 3 Apr 2013 15:21:42 +0000 (UTC) Received: by mail-oa0-f52.google.com with SMTP id k14so1608542oag.25 for ; Wed, 03 Apr 2013 08:21:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=j51j4w7gYFD0F3B8b6pLywZm3mvPbUTsWHku97Vl+Xs=; b=CTqCZcZkxYcx+kxdFoaj0Mg7Lg5CuGTlCwtcbiZBt+RH+xdkmHBpCkJNuYtZxar21E vQoRaJ1KrdN3hanL4y9IwC0VokgfJFsXPo2JgAp5hRdq600b8/obl8yllGixsaveqxdu gYujx7z0OmAekhH/u4TOUC89JCQ22wsQ4Xw4c9dFej/s4aMoKbF5KCJ7RLGt80sYWujQ 98pMc7rK7bxplOVl14unoELgfmg27s9+xs9QDeWffOB1Udagkegp6A+3AizAi4k+7POE XvMmadIlHxF4P83uBSqYMw/Ty26cGC8RIfgOzzL7ICsr4qpu6OVxQhUAVqkkTv93woe0 LIVw== MIME-Version: 1.0 X-Received: by 10.60.31.15 with SMTP id w15mr1462362oeh.0.1365002501791; Wed, 03 Apr 2013 08:21:41 -0700 (PDT) Received: by 10.76.122.81 with HTTP; Wed, 3 Apr 2013 08:21:41 -0700 (PDT) In-Reply-To: <20130403150053.GC5100@calendar.blacquiere.nl> References: <20130403150053.GC5100@calendar.blacquiere.nl> Date: Wed, 3 Apr 2013 17:21:41 +0200 Message-ID: Subject: Re: gre tunnel woes From: Andreas Nilsson To: Robert Blacquiere Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: FreeBSD Net 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 15:21:42 -0000 On Wed, Apr 3, 2013 at 5:00 PM, Robert Blacquiere wrote: > On Wed, Apr 03, 2013 at 04:51:53PM +0200, Andreas Nilsson wrote: > > Hello, > > > > I'm struggling a fair bit with gre tunnels today: > > > > Woe 1: > > > > I'm trying to incorporate my gre tunnels into rc.conf, like > > > > cloned_interfaces="gre1" > > ifconfig_gre1="inet 10.0.0.1/30 10.0.0.2 tunnel a.b.c.d e.f.g.h" > > I have "up" at the end of the ifconfig_gre0 statements and tunnels work > also after reboot. > > For the other problems you are seeing I have no answer. There is no keep > alive for as i know to change tunnel to down if tunnel fails. > > Regards > > Robert > Thanks, good to know there is hope. Unfortunately adding up directive at the end of the ifconfig-line makes no difference :( I should also have mentioned that this is on 9.1-RELEASE. The host is multihomed, so the tunnels needs a route installed to "go the right way", ie they should not go over the default route. Maybe I should just add the NOAUTO keyword and create a local rc.d service that start all tunnels... Best regards Andreas