I’ve set up Windows 8.1 as a guest on my openSUSE 13.1 (64 bit) machine, but I can’t figure out how to get it to access the Internet. I’ve found documentation at https://doc.opensuse.org/documentation/htmlsingle/openSUSE_121/opensuse-kvm.html#cha.qemu.running.networking that says in part:
13.4.2. User-mode Networking¶](https://doc.opensuse.org/documentation/htmlsingle/openSUSE_121/opensuse-kvm.html#cha.qemu.running.networking.usermode)
The -net user option instructs QEMU to use a user-mode networking. This is the default if no networking mode is selected. Therefore, these command lines are equivalent:
qemu-kvm -hda /images/sles11sp1_base.rawqemu-kvm -hda /images/sles11sp1_base.raw -net nic -net user This mode is useful if you want to allow VM Guest to access the external network resources, such as Internet. By default, no incoming traffic is permitted and therefore, VM Guest is not visible to other machines on the network. No administrator privileges are required in this networking mode. The user-mode is also useful to do a ‘network-booting’ on your VM Guest from a local directory on VM Host Server.
The VM Guest allocates an IP address from a virtual DHCP server. VM Host Server (the DHCP server) is reachable at 10.0.2.2, while the IP address range for allocation starts from 10.0.2.15. You can use ssh to connect to VM Host Server at 10.0.2.2, and scp to copy files back and forth.
That’s fine and dandy, but where do I enter those command lines? I’m using the qemu graphical front end.