From owner-freebsd-questions@FreeBSD.ORG Fri Nov 23 10:59: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 31E5E16A473 for ; Fri, 23 Nov 2007 10:59:58 +0000 (UTC) (envelope-from sat@cenkes.org) Received: from heka.cenkes.org (heka.cenkes.org [208.79.80.110]) by mx1.freebsd.org (Postfix) with ESMTP id ED02713C4EC for ; Fri, 23 Nov 2007 10:59:57 +0000 (UTC) (envelope-from sat@cenkes.org) Received: from amilo.cenkes.org (ppp85-141-135-156.pppoe.mtu-net.ru [85.141.135.156]) (Authenticated sender: sat) by heka.cenkes.org (Postfix) with ESMTP id B4C35242F82D; Fri, 23 Nov 2007 13:59:56 +0300 (MSK) Date: Fri, 23 Nov 2007 13:59:55 +0300 From: Andrew Pantyukhin To: "Alain G. Fabry" Message-ID: <20071123105953.GJ66812@amilo.cenkes.org> References: <20071122214158.GA37193@mail.pcextreme.nl> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20071122214158.GA37193@mail.pcextreme.nl> X-OS: FreeBSD 8.0-CURRENT amd64 User-Agent: Mutt/1.5.16 (2007-06-09) Cc: freebsd-questions@freebsd.org Subject: Re: creation of tap interface X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: infofarmer@FreeBSD.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Nov 2007 10:59:58 -0000 On Thu, Nov 22, 2007 at 10:41:58PM +0100, Alain G. Fabry wrote: > > Hi, > > I'm setting up Qemu, have installed Ubuntu and Gentoo guests on > FreeBSD host but I would like to get the network interfaces to > work also. > > I get the following error however when trying to create the tap > interfaces > > FreeBSD# ifconfig tap create ifconfig: SIOCIFCREATE: Invalid > argument > > What is the problem here? The command should work as you typed it, but try this: # kldload if_tap # ifconfig tap0 create ^^^