Re: Question about starting 2 VMs using Qemu

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

 



Anjali Kulkarni wrote:
Hi,

I can start my freebsd based image in Qemu, and I use tap interface for
connectivity to the host or external world, but when I try to fire up 2
instances, using tap, it fails. For the second invocation, it gives me the
error:

[root@ipg-virt01 tmp]# ./qemu-system-x86_64 -m 512 anjali.img -net
nic,model=yukon,macaddr=52:54:00:00:aa:02 -net tap,ifname=tap0,script=no
warning: could not configure /dev/net/tun: no virtual network emulation
Could not initialize device 'tap'

Am I doing something wrong? The first instance is running fine.


Please make sure your instances have different mac address.
The following settings might work:

Instance 1: macaddr=52:54:00:00:aa:02
Instance 2: macaddr=52:54:00:00:aa:03


Thanks
Shan Hai

Anjali

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

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