Re: Trouble understanding net config options

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

 



On Wed, Jul 15, 2009 at 05:54:14PM -0500, Michael Jinks wrote:
> 
> Now I want to bring up a VM with two NICs, one attached to tap12
> (bridge 0), the other on tap11 (bridge 1), but I think I've
> misunderstood the versious "-net" options as described in the kvm man
> page.  It *seems* to say that the way to map a specific tap to a
> specific guest NIC is to say, "-net nic" followed by "-net
> tap,name=<name of the tap from the host OS's perspective>", and repeat
> that sequence for each nic to appear within the VM.
> 
> So, here's the full command line I tried, based on that reading:
> 
>   # 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".

-- 
Andreas
--
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