Xen HVM Windows 2008 network bridge

Posted by JavierMartinz on Server Fault See other posts from Server Fault or by JavierMartinz
Published on 2012-07-03T11:44:34Z Indexed on 2012/07/03 15:18 UTC
Read the original article Hit count: 173

I have a problem with the Windows Server 2008 guest (hvm). I can't get a network interface running for him.

I also have a Debian guest and it's working ok, but I can't do it with the Win2k8 guest. When I started the VM, the machine freezes and I can't connect by ssh to the host.

/etc/network/interfaces

# The loopback network interface
auto lo
iface lo inet loopback

auto eth0
iface eth0 inet static
        address 188.165.B.C
        netmask 255.255.255.0
        network 188.165.B.0
        broadcast 188.165.255.255
        gateway 188.165.B.254

brctl show

bridge name bridge id       STP enabled interfaces
eth0        8000.e840f20acc28   no      peth0

/etc/xen/xend-config.sxp

...
(vif-script vif-bridge)
(network-script 'network-bridge') 
...

/etc/xen/win2k8.cfg

#  Networking
#
vif         = [ 'ip=5.39.F.G,mac=yy:yy:yy:yy:yy:yy,type=ioemu,bridge=eth0' ]

/etc/xen/debian.cfg

#  Networking
#
vif         = [ 'ip=178.33.D.E,mac=xx:xx:xx:xx:xx:xx' ]

As you can see, in the Debian guest I only have to specify an IP address and a MAC. But if I put that in the Win2k8 guest, the machine does not start.

I am using Xen 4.0

© Server Fault or respective owner

Related posts about linux

Related posts about windows-server-2008