From owner-freebsd-questions@FreeBSD.ORG Tue Feb 18 19:57:16 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 90D7577C for ; Tue, 18 Feb 2014 19:57:16 +0000 (UTC) Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 4B8E31D50 for ; Tue, 18 Feb 2014 19:57:15 +0000 (UTC) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1WFqmw-0005ZD-OG for freebsd-questions@freebsd.org; Tue, 18 Feb 2014 20:57:06 +0100 Received: from pool-173-79-82-127.washdc.fios.verizon.net ([173.79.82.127]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 18 Feb 2014 20:57:06 +0100 Received: from nightrecon by pool-173-79-82-127.washdc.fios.verizon.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 18 Feb 2014 20:57:06 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Michael Powell Subject: Re: gre tunnel doesn't create Date: Tue, 18 Feb 2014 14:56:46 -0500 Lines: 22 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7Bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: pool-173-79-82-127.washdc.fios.verizon.net User-Agent: KNode/4.12.2 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list Reply-To: nightrecon@hotmail.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Feb 2014 19:57:16 -0000 s m wrote: > hello all > > i have freebsd 9.2 which is customized. now when i want to create gre > tunnel and run "ifconfig gre0 create" command, this error is shown: > > ifconfig: SIOCIFCREATE2: Invalid argument > > i check this command on a fresh freebsd 9.2 and it works so my changes > cause this. i have many changes on my freebsd (install many services, > optimize kernel and ...) and i need all of them. do you have any > suggestion what change causes this error? or how can i fix it in order to > be able to create a gre tunnel? > Try and kldload the if_gre.ko module and see if that works. If so put if_gre_load="YES" in /boot/loader.conf or build kernel with device gre to make it permanent. -Mike