[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
system/2400: GRE tunnel config fails without default route at startup
- To: gnats@openbsd.org
- Subject: system/2400: GRE tunnel config fails without default route at startup
- From: Gnats <gnats@cvs.openbsd.org>
- Date: Thu, 14 Feb 2002 09:10:02 -0700 (MST)
- Resent-Date: Thu, 14 Feb 2002 09:10:02 -0700 (MST)
- Resent-From: gnats@cvs.openbsd.org (GNATS Management)
- Resent-Message-Id: <200202141610.g1EGA2Ph031474@cvs.openbsd.org>
- Resent-Reply-To: gnats@cvs.openbsd.org,Received: "from openbsd.cs.colorado.edu (openbsd.cs.colorado.edu [128.138.192.83]) by cvs.openbsd.org (8.12.2/8.12.1) with ESMTP id g1EG9TWV001029 (version=TLSv1/SSLv3 cipher=EDH-DSS-DES-CBC3-SHA bits=168 verify=FAIL) for" <gnats@cvs.openbsd.org>;,Thu@naughty.monkey.org, 14@naughty.monkey.org,Feb@naughty.monkey.org, 2002@naughty.monkey.org,09:09:30.-0700@cvs.openbsd.org (MST)
- Resent-To: bugs@cvs.openbsd.org
>Number: 2400
>Category: system
>Synopsis: /etc/netstart tries to config hostname.gre* files before a default route exists
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: bugs
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Feb 14 09:10:01 MST 2002
>Last-Modified:
>Originator: Peter Galbavy
>Organization:
Knowtion Ltd.
>Release: -current
>Environment:
System : OpenBSD 3.0
Architecture: OpenBSD.i386
Machine : i386
>Description:
From: Peter Galbavy <peter@office.london.knowtion.net>
Message-Id: <E16bOOy-00015Q-00@mx-30.mail.knowledge.com>
Date: Thu, 14 Feb 2002 16:06:28 +0000
Trying to use a hostname.gre0 file to auto-config a GRE tunnel fails
because the route to the destination has not yet been installed.
>How-To-Repeat:
/etc/hostname.gre0:
inet 1.1.1.1 255.255.255.252 NONE link0 up
dest 2.2.2.2
reboot.
>Fix:
I can think of two potential fixes:
1. Alter /etc/netstart to be more aware of IP-in-IP tunnels
2. Change the gre(4) driver to allow unrouted destinations, and simply
return an appropriate destination unreachable when the remote end of
the tunnel is unreachable. I am not sure what the RFCs or Cisco etc.
implemenations do in this case.
>Audit-Trail:
>Unformatted: