From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:37665) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TNgBZ-0003dz-Un for qemu-devel@nongnu.org; Mon, 15 Oct 2012 04:38:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TNgBW-0000e6-Ju for qemu-devel@nongnu.org; Mon, 15 Oct 2012 04:38:05 -0400 Received: from mail-bk0-f45.google.com ([209.85.214.45]:44676) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TNgBW-0000du-D0 for qemu-devel@nongnu.org; Mon, 15 Oct 2012 04:38:02 -0400 Received: by mail-bk0-f45.google.com with SMTP id jf3so1942100bkc.4 for ; Mon, 15 Oct 2012 01:38:01 -0700 (PDT) Date: Mon, 15 Oct 2012 10:37:56 +0200 From: Stefan Hajnoczi Message-ID: <20121015083756.GD24883@stefanha-thinkpad.redhat.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Subject: Re: [Qemu-devel] Any alternative to kqemu ? List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Timothy Madden Cc: qemu-devel@nongnu.org On Sun, Oct 14, 2012 at 01:52:54PM +0300, Timothy Madden wrote: > `qemu-system-i386 -net nic ...` keeps saying upon invocation that > vlan0 is not connected to host network. My `vconfig add eth1` > command completed successfully, and I can `ifconfig eth1.0`, > although I see no IP address on the new interface, only the mac > address. QEMU "VLANs" are not 802.1Q VLANs. The terminology is confusing but it has nothing to do with vconfig. This error is displayed because there are two parts to the network configuration options: 1. Emulated guest device, for example rtl8139 or virtio-net. 2. Host netdev, for example tap or the userspace SLIRP stack. The error means you have only defined the emulated guest device but no host netdev. QEMU needs to know how you wish to connect the guest to the outside world. Here is a complete network configuration to try: qemu -net nic,model=rtl8139 -net user There is more detail here: http://wiki.qemu.org/Documentation/Networking Stefan