VM with two interfaces

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

 



Hi,

Am trying to create a VM using qemu-kvm with two interfaces(fedora12
is the host and vm) and running into an issue. Given below is the
command :

qemu-kvm -net nic,macaddr=$macaddress,model=pcnet -net
tap,script=/etc/qemu-ifup -net nic,model=pcnet -net
tap,script=/etc/qemu-ifup -m 1024 -hda ./vdisk.img -kernel
./bzImage-1019 -append "ip=x.y.z.w:a.b.c.d:p.q.r.s:a.b.c.d
ip=x.y.z.u:a.b.c.d:p.q.r.s:a.b.c.d root=/dev/nfs rw
nfsroot=x.y.z.v:/blahblahblah"

On boot, both eth0 and eth1 come up but the vm tries to send dhcp and
rarp requests instead of using the command line IP addresses. DHCP
would fail in my case.

With just one interface, dhcp is not attempted and nfs mount of root works fine.

Any clue on what could be wrong here?

Thanks,
Nirmal
--
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