From owner-freebsd-rc@FreeBSD.ORG Fri Dec 2 08:15:17 2005 Return-Path: X-Original-To: freebsd-rc@freebsd.org Delivered-To: freebsd-rc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DA21916A41F for ; Fri, 2 Dec 2005 08:15:17 +0000 (GMT) (envelope-from yar@comp.chem.msu.su) Received: from comp.chem.msu.su (comp.chem.msu.su [158.250.32.97]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8D57943D62 for ; Fri, 2 Dec 2005 08:15:14 +0000 (GMT) (envelope-from yar@comp.chem.msu.su) Received: from comp.chem.msu.su (localhost [127.0.0.1]) by comp.chem.msu.su (8.13.3/8.13.3) with ESMTP id jB28ErNj013354; Fri, 2 Dec 2005 11:14:53 +0300 (MSK) (envelope-from yar@comp.chem.msu.su) Received: (from yar@localhost) by comp.chem.msu.su (8.13.3/8.13.3/Submit) id jB28Ertn013353; Fri, 2 Dec 2005 11:14:53 +0300 (MSK) (envelope-from yar) Date: Fri, 2 Dec 2005 11:14:53 +0300 From: Yar Tikhiy To: Boris Kochergin Message-ID: <20051202081452.GB12291@comp.chem.msu.su> References: <438B0F2D.2050106@acm.poly.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <438B0F2D.2050106@acm.poly.edu> User-Agent: Mutt/1.5.9i Cc: freebsd-rc@freebsd.org Subject: Re: GRE tunnel on startup with rc.conf X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion related to /etc/rc.d design and implementation." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Dec 2005 08:15:18 -0000 On Mon, Nov 28, 2005 at 09:07:41AM -0500, Boris Kochergin wrote: > > Is there a way to configure GRE tunnels on startup via rc.conf? I didn't > find anything in the man page or in /etc/defaults/rc.conf. gre(4) is just another pseudo interface, cloneable and configurable with ifconfig(8): # begin rc.conf snippet cloned_interfaces="gre0" ifconfig_gre0="inet 1.1.1.1 2.2.2.2 tunnel 3.3.3.3 4.4.4.4 up" # end rc.conf snippet See gre(4) for some implementation caveats. -- Yar