Setting up Windows network on Xen

Posted by samyboy on Server Fault See other posts from Server Fault or by samyboy
Published on 2010-04-19T16:35:55Z Indexed on 2010/04/23 16:13 UTC
Read the original article Hit count: 335

Filed under:
|
|
|

I'm trying to install a Windows XP server in a Xen environment. The OS is booting fine. Unfortunately I can't figure out how to set up the network settings.

Dom0 is a Debian Lenny currently hosting around 10 Linux virtual servers.

Windows tells me I have a "limited connection". It can't get any DHCP response, nor access other hosts in the network

Here is the Xen's client config file:

kernel = '/usr/lib/xen-3.2-1/boot/hvmloader'
builder = 'hvm'
memory = '1024'
device_model='/usr/lib/xen-3.2-1/bin/qemu-dm'
acpi=1
apic=1
pae=1
vcpus=1
name = 'winexchange'
# Disks
disk = [
        'phy:/dev/wnghosts/exchange-disk,ioemu:hda,w',
        'file:/mnt/freespace/ISO/DVD1_Installation.iso,ioemu:hdc:cdrom,r'
]
# Networking
vif = [ 'mac=00:16:3E:0A:D0:1B, type=ioemu, bridge=xenbr0']
# video
stdvga=0
serial='pty'
ne2000=0
# Behaviour
boot='c'
sdl=0
# VNC
vfb = [ 'type=vnc' ]
vnc=1
vncdisplay=1
vncunused=1
usbdevice='tablet'
  • Server config (/etc/xen/xend-config.sxp)
(network-script network-bridge)
(network-script network-dummy)
(vif-script vif-bridge)
(dom0-min-mem 512)
(dom0-cpus 0)
(vnc-listen '0.0.0.0')

Since I use Debian I had to create a link like this: /etc/xen/qemu-ifup -> /etc/xen/scripts/qemu-ifup

What did I do wrong? Please tell me if you want some more info (logs, etc)

© Server Fault or respective owner

Related posts about linux

Related posts about xen