Quantcast
Channel: Ubuntu Forums - Virtualisation
Viewing all articles
Browse latest Browse all 4211

Wxp under kvm

$
0
0
Running Ubuntu 14.04 and kvm 2.0.0, I have a few virtual machines running nicely. I now want to add a Win XP virtual and I can install it but I cannot get it to have networking.
Some of my other virtuals need a fixed IP, accessible from outside, so I set up my host machine with a bridged interface. How should I set up the networking for the virtual WXP? Do I need to use the virtio drivers?

Definition of the bridge interface of the host machine:

auto br0
iface br0 inet static
address 192.168.0.8
network 192.168.0.0
netmask 255.255.255.0
broadcast 192.168.0.255
gateway 192.168.0.1
bridge_ports eth2
bridge_stp off
bridge_fd 0
bridge_maxwait 0

Example of a working guest:

kvm -hda /vdi/bbx.raw -m 1024 \
-device e1000,netdev=net0,mac=DE:AD:BE:EF:6F:87 \
-netdev tap,id=net0


Any comments and pointers welcome.

Viewing all articles
Browse latest Browse all 4211

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>