igwk
May 21st, 2008, 03:32 PM
I'm running a winxp virtual machine using KVM on Hardy with the following command:
kvm -hda ~/vm/winxp_vm.qcow2 -cdrom /dev/cdrom -m 768 -soundhw es1370 -no-frame -no-acpi &
By default it's using the qemu user mode network stack for network access and this works fine when my host machine is connected to the network with eth0. However, there are times when my host machine is connected to the network over wireless (wlan0) instead. Does anyone know how to make kvm use the user mode guest networking over wlan0 instead of eth0? Do I need to setup TAP interfaces and switch to NAT to make this work?
kvm -hda ~/vm/winxp_vm.qcow2 -cdrom /dev/cdrom -m 768 -soundhw es1370 -no-frame -no-acpi &
By default it's using the qemu user mode network stack for network access and this works fine when my host machine is connected to the network with eth0. However, there are times when my host machine is connected to the network over wireless (wlan0) instead. Does anyone know how to make kvm use the user mode guest networking over wlan0 instead of eth0? Do I need to setup TAP interfaces and switch to NAT to make this work?