From owner-freebsd-questions@FreeBSD.ORG Sat Apr 12 17:13:23 2008 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 DFEB11065670 for ; Sat, 12 Apr 2008 17:13:23 +0000 (UTC) (envelope-from stapleton.41@gmail.com) Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.180]) by mx1.freebsd.org (Postfix) with ESMTP id A44A68FC1D for ; Sat, 12 Apr 2008 17:13:23 +0000 (UTC) (envelope-from stapleton.41@gmail.com) Received: by wa-out-1112.google.com with SMTP id k17so1000652waf.3 for ; Sat, 12 Apr 2008 10:13:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=Rley4/HZQtdN+dDfdz0A5GKb2+1hz1i1QXoSeiouzdI=; b=XDTZ/6F0jSafOLdPynlBJfMCeg2wMXokBYzhMCTnmeACZIppLwgWFmzk7NPn1SOYxmmC8Kplh8lZ9dT6oHiW0fb5rrI5DXPhexsiYrPyXypnRZvUaE1/UmmQZSCEgVjKHoPQ9+NLaRRN9Ba9LwdcAXlYW+Cat+UgfLCYId2r83o= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=RiC6dhI0NxkE7EbDBu30xtx4t80qHixmZ9rUuDq4f4FyOYtdzAn0SndY1a2talo620ydXeefkNZqmcAD/7MZ5YnLrKiIEqqtDyXdIsx4UYHv1H3IwEyf6ToxKsCBzLXL7DjPFG3bUm29KUlEMRb47xEom7ca/5KmBnlq0lTxTlw= Received: by 10.114.24.5 with SMTP id 5mr1652670wax.160.1208020403425; Sat, 12 Apr 2008 10:13:23 -0700 (PDT) Received: by 10.114.113.11 with HTTP; Sat, 12 Apr 2008 10:13:23 -0700 (PDT) Message-ID: <80f4f2b20804121013y5d980abereb05e4aa2a1a1b77@mail.gmail.com> Date: Sat, 12 Apr 2008 17:13:23 +0000 From: "Jim Stapleton" To: "Andrew Cid" In-Reply-To: <20080410093625.GA95076@farnborough.darq.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <80f4f2b20804081710k5af28466k17f3d38cdd6e344a@mail.gmail.com> <20080409091859.GA14939@farnborough.darq.net> <80f4f2b20804091825y2a37bddehd68e91f57426dc04@mail.gmail.com> <20080410093625.GA95076@farnborough.darq.net> Cc: freebsd-questions@freebsd.org Subject: Re: QEMU networking quirkiness on 7.0 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: Sat, 12 Apr 2008 17:13:24 -0000 OK, my stupid jokes aside, I got this result: # ifconfig re0: flags=8943 metric 0 mtu 1500 options=98 ether 00:1a:70:12:bc:55 inet 192.168.1.84 netmask 0xffffff00 broadcast 192.168.1.255 inet 192.168.1.85 netmask 0xffffffff broadcast 192.168.1.85 media: Ethernet autoselect (100baseTX ) status: active lo0: flags=8049 metric 0 mtu 16384 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2 inet6 ::1 prefixlen 128 inet 127.0.0.1 netmask 0xff000000 tap0: flags=8903 metric 0 mtu 1500 ether 00:bd:cd:fd:1a:00 bridge0: flags=8802 metric 0 mtu 1500 ether 8e:31:f1:19:61:13 id 00:00:00:00:00:00 priority 32768 hellotime 2 fwddelay 15 maxage 20 holdcnt 6 proto rstp maxaddr 100 timeout 1200 root id 00:00:00:00:00:00 priority 0 ifcost 0 port 0 member: re0 flags=143 member: tap0 flags=143 # cat WinXP\ VM #!/bin/sh qemu -boot c -net nic -net tap -hda /data/WinXP.img -m 512 -soundhw es1370 -localtime -smb /data/ # ./WinXP\ VM warning: could not open /dev/tap4 (No such file or directory): no virtual network emulation Could not initialize device 'tap' sjss@elrond 02:11:26 (1) ~/Desktop > ls -lh /etc/ | grep qemu; cat /etc/qemu-ifup -rwxr-xr-x 1 root wheel 18 Apr 10 11:35 qemu-ifup* ifconfig ${1} up I tried to create tap4 to fix this, then it complained about tap5 not existing. It creates the /dev/tap device it wants when there is an error. I figure I made a mistake (obviously), any ideas what? Thanks, -JIm Stapleton