Re: Trouble understanding net config options

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>>   # 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]
           Connect the host TAP network interface name to VLAN n, use the net-
           work script file to configure it and the network script dfile to
           deconfigure it. If name is not provided, the OS automatically pro-
           vides one. fd=h can be used to specify the handle of an already
           opened host TAP interface.

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.
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux