From owner-freebsd-questions@FreeBSD.ORG Fri Nov 23 17:36:42 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 9CF4616A419 for ; Fri, 23 Nov 2007 17:36:42 +0000 (UTC) (envelope-from alainfabry@belgacom.net) Received: from mailrelay003.isp.belgacom.be (mailrelay003.isp.belgacom.be [195.238.6.53]) by mx1.freebsd.org (Postfix) with ESMTP id 274F113C458 for ; Fri, 23 Nov 2007 17:36:41 +0000 (UTC) (envelope-from alainfabry@belgacom.net) X-Belgacom-Dynamic: yes Received: from 243.57-66-87.adsl-dyn.isp.belgacom.be (HELO belgacom.net) ([87.66.57.243]) by relay.skynet.be with ESMTP; 23 Nov 2007 18:36:40 +0100 Date: Fri, 23 Nov 2007 18:33:48 +0100 From: "Alain G. Fabry" To: freebsd-questions@freebsd.org Message-ID: <20071123173348.GA41157@mail.pcextreme.nl> References: <20071122214158.GA37193@mail.pcextreme.nl> <20071123105953.GJ66812@amilo.cenkes.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20071123105953.GJ66812@amilo.cenkes.org> User-Agent: Mutt/1.4.2.1i Subject: Re: creation of tap interface 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: Fri, 23 Nov 2007 17:36:42 -0000 On Fri, Nov 23, 2007 at 01:59:55PM +0300, Andrew Pantyukhin wrote: > 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 > ^^^ I actually tried that already aswell but it didn't work. So I added device tap in the kernel, recompiled and still the same problem FreeBSD# kldload if_tap kldload: can't load if_tap: File exists --> I guess because I compiled it in the kernel FreeBSD# ifconfig tap0 create ifconfig: SIOCIFCREATE: Invalid argument FreeBSD# ifconfig tun0 create ifconfig: SIOCIFCREATE: Invalid argument --> get the same for a tun interface > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"