From owner-freebsd-questions@FreeBSD.ORG Wed Nov 28 14:09:58 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1774316A475 for ; Wed, 28 Nov 2007 14:09:58 +0000 (UTC) (envelope-from philip@ridecharge.com) Received: from exhub015-2.exch015.msoutlookonline.net (exhub015-2.exch015.msoutlookonline.net [207.5.72.94]) by mx1.freebsd.org (Postfix) with ESMTP id 00ED213C46E for ; Wed, 28 Nov 2007 14:09:57 +0000 (UTC) (envelope-from philip@ridecharge.com) Received: from philip.hq.rws (74.93.213.161) by smtpx15.msoutlookonline.net (207.5.72.103) with Microsoft SMTP Server (TLS) id 8.0.744.0; Wed, 28 Nov 2007 06:09:56 -0800 Message-ID: <474D76B0.1080401@riderway.com> Date: Wed, 28 Nov 2007 09:09:52 -0500 From: "Philip M. Gollucci" Organization: Riderway Inc. User-Agent: Thunderbird 2.0.0.6 (X11/20070919) MIME-Version: 1.0 To: "Alain G. Fabry" References: <20071128140034.GA65209@ducati-748.3rdrock.kicks-ass.net> In-Reply-To: <20071128140034.GA65209@ducati-748.3rdrock.kicks-ass.net> Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit Cc: "freebsd-questions@freebsd.org" Subject: Re: 2nd try : tap SIOCIFCREATE failure X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Nov 2007 14:09:58 -0000 Alain G. Fabry wrote: > When creating the tap interface, my system gives the following > > FreeBSD# uname -a > FreeBSD FreeBSD 6.2-RELEASE > FreeBSD# kldstat > Id Refs Address Size Name > 1 11 0xc0400000 6f7554 kernel > 2 1 0xc0af8000 140c0 snd_hda.ko > 3 2 0xc0b0d000 479a8 sound.ko > 4 1 0xc0b55000 1d278 kqemu.ko > 5 1 0xc0b73000 8ea4 aio.ko > 6 1 0xc4f44000 9000 if_bridge.ko > 7 1 0xc5079000 16000 linux.ko > 8 1 0xc60ce000 4000 if_tap.ko > FreeBSD# ifconfig tap0 create > ifconfig: SIOCIFCREATE: Invalid argument I never had to manually issue the create command, you should just see it in the ifconfig -a output. When qemu starts, "Opened by process id " should be in the ifconfig output by the tap0 interface. You'll need to use the /etc/qemuifup or whatever its called, I forget. Or the command line options to set networking info like netmask, ip, gateway for the tap. -- ------------------------------------------------------------------------ Philip M. Gollucci (philip@ridecharge.com) o:703.549.2050x206 Senior System Admin - Riderway, Inc. http://riderway.com / http://ridecharge.com 1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB B89E 1324 9B4F EC88 A0BF Work like you don't need the money, love like you'll never get hurt, and dance like nobody's watching.