Xen HVM networking wont work
- by Nathan
I'm trying to get a Xen HVM network working using route however I am failing. Xen PV works fine using Ubuntu but when installing Ubuntu on HVM it fails to pick up the network.
I'll let you know now that I'm not that experienced with Xen so I would appreciate any help.
vm104 is the HVM thats causing me the problems, here is the configs that I believe should help resolve the problem.
[root@eros vm104]# cat vm104.cfg
import os, re
arch = os.uname()[4]
if re.search('64', arch):
arch_libdir = 'lib64'
else:
arch_libdir = 'lib'
kernel = '/usr/lib/xen/boot/hvmloader'
builder = 'hvm'
memory = 6000
shadow_memory = '8'
cpu_weight = 256
name = 'vm104'
vif = ['type=ioemu, ip=85.25.x.y, vifname=vifvm104.0, mac=00:16:3e:52:3d:fe, bridge=xenbr0']
acpi = 1
apic = 1
vnc = 1
vcpus = 4
vncdisplay = 3
vncviewer = 0
vncconsole = 1
vnclisten = '217.118.x.y'
vncpasswd = 'kCfb5S4tE7'
serial = 'pty'
disk = ['phy:/dev/vpsvg/vm104_img,hda,w', 'file:/home/solusvm/xen/iso/Windows-Server-2008-RC2.iso,hdc:cdrom,r']
device_model = '/usr/' + arch_libdir + '/xen/bin/qemu-dm'
boot = 'cd'
sdl = '0'
usbdevice = 'tablet'
pae=1
[root@eros /]# cat /etc/xen/xend-config.sxp | egrep -v "(^#.*|^$)"
(xend-unix-server yes)
(xend-unix-path /var/lib/xend/xend-socket)
(xend-relocation-hosts-allow '^localhost$ ^localhost\\.localdomain$')
(network-script network-route)
(vif-script vif-route)
(network-script 'network-route netdev=eth0')
(dom0-min-mem 256)
(dom0-cpus 0)
(vnc-listen '0.0.0.0')
(vncpasswd '')
(keymap 'en-us')
The Windows install will not pick up the network - I've tried setting the IP manually by using the Xen servers IP as the gateway and setting the main IP in Windows but no luck.
If anyone needs any more information let me know and I appreciate any input!