Citrix Xen VM's lose networking

Posted by Ash on Server Fault See other posts from Server Fault or by Ash
Published on 2012-10-18T21:16:14Z Indexed on 2012/10/18 23:03 UTC
Read the original article Hit count: 203

My client has a XenServer 6.0.2 installation with 2 Window Server 2008 R2 virtual machines.

Whenever the virtual machines are rebooted they lose their IP settings (IP address, subnet, gateway). Each time after a reboot I need to login to each VM via XenCenter and re-apply the required static IP settings.

This causes issues with connected iSCSI drives within each VM - drives need to be reconnected after each reboot.

For example, a network adapter has the following settings pre-reboot:

Description . . . . . . . . . . . : Citrix PV Ethernet Adapter #0
Physical Address. . . . . . . . . : C6-FB-A2-4F-2C-F3
IPv4 Address. . . . . . . . . . . : 10.101.0.101(Preferred) 
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 10.101.0.10
DNS Servers . . . . . . . . . . . : 10.101.0.100
NetBIOS over Tcpip. . . . . . . . : Enabled

Post-reboot:

Description . . . . . . . . . . . : Citrix PV Ethernet Adapter #0
Physical Address. . . . . . . . . : C6-FB-A2-4F-2C-F3
Autoconfiguration IPv4 Address. . : 169.254.153.174(Preferred) 
Subnet Mask . . . . . . . . . . . : 255.255.0.0
Default Gateway . . . . . . . . . : 
DNS Servers . . . . . . . . . . . : 10.101.0.100
NetBIOS over Tcpip. . . . . . . . : Enabled

Under XenCenter --> Virtual Network Interfaces, each adapter is set to a static MAC address (i.e. "Use this MAC address").

I have tried the following commands within one VM but this had no effect:

netsh winsock reset catalog 
netsh int ip reset 

Can someone please help?

© Server Fault or respective owner

Related posts about windows-server-2008-r2

Related posts about xen