From: Stefan Hajnoczi <stefanha@gmail.com>
To: Timothy Madden <terminatorul@gmail.com>
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] Any alternative to kqemu ?
Date: Mon, 15 Oct 2012 10:37:56 +0200 [thread overview]
Message-ID: <20121015083756.GD24883@stefanha-thinkpad.redhat.com> (raw)
In-Reply-To: <k5e5ho$7b2$1@ger.gmane.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
prev parent reply other threads:[~2012-10-15 8:38 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-10-14 10:52 [Qemu-devel] Any alternative to kqemu ? Timothy Madden
2012-10-15 8:03 ` Paolo Bonzini
2012-10-17 13:39 ` Timothy Madden
2012-10-17 13:46 ` 陳韋任 (Wei-Ren Chen)
2012-10-17 13:47 ` Paolo Bonzini
2012-10-15 8:37 ` Stefan Hajnoczi [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20121015083756.GD24883@stefanha-thinkpad.redhat.com \
--to=stefanha@gmail.com \
--cc=qemu-devel@nongnu.org \
--cc=terminatorul@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).