public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: Andreas Plesner Jacobsen <apj@mutt.dk>
To: Michael Jinks <michael.jinks@gmail.com>
Cc: kvm@vger.kernel.org
Subject: Re: Trouble understanding net config options
Date: Thu, 16 Jul 2009 01:35:13 +0200	[thread overview]
Message-ID: <20090715233513.GA2455@nerd.dk> (raw)
In-Reply-To: <f02c30210907151622q633015dfle85de2ab558a1c2c@mail.gmail.com>

On Wed, Jul 15, 2009 at 06:22:56PM -0500, Michael Jinks wrote:
> >>   # kvm -m 512M -net nic -net tap,name=tap11 -net nic -net
> >> tap,name=tap12 -hda /vmstore/wee -vnc :11 -cdrom
> >> /path/to/my/Windows.iso -boot d
> >
> > The parameter is "ifname", not "name".
> 
> In that case, what does the "name" parameter mean?  Quoting from the
> manpage on my system:
> 
>        -net tap[,vlan=n][,name=name][,fd=h][,ifname=name][,script=file][,down-
>        script=dfile]

No idea, it's not a supported parameter in the kvm-72 I have on this
machine, maybe it's the name in the qemu console for manipulating the
device.

> I tried again, substituting "ifname" for "name" and leaving everything
> else as-is,  That draws an error:
> 
>   device tap11 is already a member of a bridge; can't enslave it to bridge br0.
>   /etc/kvm/kvm-ifup: could not launch network script
>   Could not initialize device 'tap'
> 
> I suppose that's a good sign, but it still leaves me wondering how to
> control which tap connects to which bridge, if I can't attach a guest
> to an existing tap.

You can. Try adding script=no, so the kvm-ifup script does not get run.

-- 
Andreas

  parent reply	other threads:[~2009-07-15 23:35 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-15 22:54 Trouble understanding net config options Michael Jinks
2009-07-15 23:05 ` Stephane Bakhos
2009-07-15 23:08   ` Michael Jinks
2009-07-15 23:12     ` Stephane Bakhos
2009-07-15 23:12   ` Andreas Plesner Jacobsen
2009-07-15 23:17     ` Michael Jinks
2009-07-15 23:24       ` Chris Webb
2009-07-15 23:41         ` Michael Jinks
2009-07-16  0:03           ` Charles Duffy
2009-07-15 23:48     ` Andreas Plesner Jacobsen
2009-07-15 23:07 ` Andreas Plesner Jacobsen
2009-07-15 23:22   ` Michael Jinks
2009-07-15 23:27     ` Stephane Bakhos
2009-07-15 23:35     ` Andreas Plesner Jacobsen [this message]
2009-07-15 23:42       ` Michael Jinks

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=20090715233513.GA2455@nerd.dk \
    --to=apj@mutt.dk \
    --cc=kvm@vger.kernel.org \
    --cc=michael.jinks@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