VMware
 

Knowledge Base

Search the Knowledge Base:

Products:
Search In:
 

Copying a Large File on a Windows Server 2003 Host with Microsoft File Sharing May Fail and No Longer Connect Again

Details

I have a Windows guest with bridged networking running on a Windows Server 2003 host. When I try to copy a file larger than about 200 MB from a mapped network drive on the host to the guest, I get the following error message in the guest:
 
Cannot copy : The specified name is no longer available.
 
When I check the event log on the Windows Server 2003 host, I find the following error message:
 
Event ID 2025
The server has detected an attempted Denial-Of-Service attack from client \\ and has disconnected the connection.
 
When I attempt to connect again to the server I can no longer connect to the server or share. How can I avoid this problem?

Solution

This error is seen because the VMware virtual bridge can operate at any speed and is constrained only by the processing power of the host computer's processor. When traffic is sent from the guest to the host it can be sent at very fast speeds.  Windows Server 2003 includes security features that interpret network requests at speeds above a specified limit as denial of service attacks. In response, Windows Server 2003 disconnects the client — in this case, the guest VM.  Once it is disconnected Windows will not allow it to connect again.

There are several ways you can avoid such disconnections. Use the one that is most convenient in your environment.

  • Use the bandwidth limiting feature of VMware Workstation 5 (this workaround does not apply to GSX Server). Using a text editor, add two lines to the configuration (.vmx) file of the affected virtual machine.

    If the physical Ethernet adapter on the host computer is running at 100Mbps, use the following two lines:
    ethernet0.txbw.limit=100000
    ethernet0.rxbw.limit=100000

    If the physical Ethernet adapter on the host computer is running at 10Mbps, use the following two lines:
    ethernet0.txbw.limit=10000
    ethernet0.rxbw.limit=10000

    In both examples above, the setting affects the virtual machine's first virtual Ethernet adapter (ethernet0). To modify the setting for a second virtual Ethernet adapter, substitute ethernet1. For a third virtual Ethernet adapter, use ethernet2.

    This approach increases the load on the host computer's processor and may affect performance.

  • Disable large send offload in the network settings for the physical Ethernet adapter on the host computer. Note: This is host operating system dependent, not a VMware setting.

    This approach increases the load on the host computer's processor and may affect performance.

  • Use a gigabit switch. Connecting the host computer's network adapter to a gigabit switch helps because the bridge cannot produce traffic that exceeds the 1000Mbps speed of the switch. This workaround provides the highest throughput when you copy large files.

  • Change the configuration of the virtual machine to use host-only networking. This change is simple to make and may be appropriate for some virtual machines.

  • Disable or change the Windows Server 2003 settings on the host to disable the security feature.  Note: this may increase the security risk of the host as it affects connections to external hosts as well.  See: http://support.microsoft.com/kb/898468 for instructions on how to do this.

Keywords

relnotes; 1619; WS500; ws550; GSX320; ws600; vms100

Feedback

Rating: 1 - Lowest 2 3 4 5 - Highest (1 Ratings)   

Did this article help you?
This article resolved my issue.
This article did not resolve my issue.
This article helped but additional information was required to resolve my issue.
What can we do to improve this information? (2000 or fewer characters)
Submit
Rating: 1 - Lowest 2 3 4 5 - Highest (1 Ratings)   
Actions