public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: Dan Johansson <kvm@dmj.nu>
To: kvm@vger.kernel.org
Subject: Startup of multiple Guests
Date: Sun, 2 May 2010 15:14:53 +0200	[thread overview]
Message-ID: <201005021514.53974.kvm@dmj.nu> (raw)

Hi, It's me again.

After some time with a lot to do outside the computer world, I am now 
continuing my "KVM-Project". I have gotten all my KVM-Guest to run separately, 
but when I try to start more then one at the same time I get the following 
error message and the second Guest does not start:

warning: could not configure /dev/net/tun: no virtual network emulation

The scripts used to start the Guests looks like this:
Guest-A:
kvm \
        -net nic,vlan=1,model=rtl8139,macaddr=DE:ED:BE:EF:01:04 -net 
tap,vlan=1,ifname=qtap1,script=no,downscript=no \
        -net nic,vlan=3,model=rtl8139,macaddr=DE:ED:BE:EF:03:04 -net 
tap,vlan=3,ifname=qtap3,script=no,downscript=no \
        -m 2048 -k de-ch -vnc :4 -daemonize \
        Robbie.qcow2

Guest-B:
kvm \
        -net nic,vlan=1,model=rtl8139,macaddr=DE:ED:BE:EF:01:03 -net 
tap,vlan=1,ifname=qtap1,script=no,downscript=no \
        -net nic,vlan=3,model=rtl8139,macaddr=DE:ED:BE:EF:03:03 -net 
tap,vlan=3,ifname=qtap3,script=no,downscript=no \
        -m 2048 -k de-ch -vnc :3 -daemonize \
        Wilmer.qcow2

I suspect that something is not 100% correct with my network setup.
I want both of the Guest to be able to access the same qtap's (1 and 3).
br1 = qtap1 + eth1
br3 = qtap3 + eth3

Is it not possible to use the same qtap for two different Guests?
Do I need to setup one qtap for each Guste and configure it like this:
br1 = qtap1a + qtap1b + eth1

Just asking for some advice before I start fiddling around with my network-
setup again. (;-)

Regards,
-- 
Dan Johansson, <http://www.dmj.nu>
***************************************************
This message is printed on 100% recycled electrons!
***************************************************

             reply	other threads:[~2010-05-02 13:14 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-02 13:14 Dan Johansson [this message]
2010-05-03  4:50 ` Startup of multiple Guests Amos Kong

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=201005021514.53974.kvm@dmj.nu \
    --to=kvm@dmj.nu \
    --cc=kvm@vger.kernel.org \
    /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