Networking with Windows XPMode

Posted on 2013-12-16
Last Modified: 2013-12-22
I have a legacy application that is used to communicate with a robot. The application is 32bit and will not run on Windows 7. I have installed Windows XPmode on my Win7 64bit computer and installed the legacy application. My problem is the application is not communicating with the robot. There are 2 NIC's on the host machine, I have tried them both in every combination I could think ok. The only network that this machine is connecting to is directly to the robot. I have tried setting the IP directly on the host, choosing NAT, and leaving the VM set to grab DHCP...I have set the Host to grab DHCP and tried setting the IP on the VM...setting the IP on both the VM and the Host. What would be the proper way to set the IP?

Question by:FastFord
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
  • 2
LVL 78

Expert Comment

ID: 39723082
Not sure what the issue you have based on your question.

A suggestion if I might on whether you ran the application in windows xp compatibility mode within windows 7 rather than within a VM?

Was the robot locked in using MAC address from which it will accept communications?

Author Comment

ID: 39723097
compatibility mode does not work, application will not install on win7 64bit. The problem is how/where to set the IP vs vm
LVL 11

Expert Comment

by:Gregory Miller
ID: 39723107
The W7 host has to have an IP address if you are communicating via TCP/IP. The VM will need an address as well unless you can bridge the VM to the host adapter in some way. The Robot also needs an IP address. All three should be in the same subnet like, and and all should share the same subnet mask of The gateway for the PC host and the VM should be the Robot IP and the Robot gateway address should be the VM.

This would all be simpler if you had all of this connected to a small home type router to give out DHCP...

It has been a while for me and Virtual PC on Windows, I typically do not install it and opt for VirtualBox by Oracle. But you cannot get the free XP license in that way.
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!


Author Comment

ID: 39723113
I understand TCP/IP. The host is not doing ANY communication to the robot. The Host is simply the Host. So...if I assign the NIC to the I leave the IP address blank (dhcp) on the host, then set it correctly on the VM? A router would be great if my PLC would grab a DHCP address. It wont. I have tried setting up the NIC to NAT, and setting the address only on the host...doesn't work. I have tried bridging the NIC and setting the IP locally on the VM and the host...doesn't work...
LVL 78

Expert Comment

ID: 39723120
Run the application setup using compatibility mode.
Right click and select trouble shoot, or properties, and there is a compatibility tab set to windows XP and see if that works.

You may have tried it.

The difficulty deals with whether the issue is within the VM, or on the network.

Using wireshark or ms network monitor, you can look at the network traffic within the VM, and on the windows 7 to see whether the traffic leaves and whether the robot responds.
If you still have the old system, use it to build the expected network traffic as a reference.
LVL 11

Expert Comment

by:Gregory Miller
ID: 39723123
Regardless of your software being able to load in Win7 or not, TCP is TCP is TCP. Having said that, can you at least ping the robot from the Win7 box? If no, then you need to overcome that issue first before you can look at the VM. If one IP address cannot ping another IP address on the same network, there is a problem.

I read back through your first post and you said the robot is connected directly to the PC. Are you using a straight through cable or a crossover cable? You must have a crossover cable for direct connections unless one of the NICs auto detects, which may not be 100% fool proof. You can also use a switch between the two devices to get the proper signaling.
LVL 78

Expert Comment

ID: 39723125
Are there two VLANed segments?

Using network monitoring tools, you could troubleshoot the issue to first make sure that there is network traffic originating from your host/guest. Then validating the network .......

Accepted Solution

FastFord earned 0 total points
ID: 39724520
There were missing communication drivers from the application install. Once I installed them the application ran correctly. Thank you for your help.

Author Closing Comment

ID: 39734449
Application was not installed correctly. Once I spoke with the MFR I received the correct steps for install.

Featured Post

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
RDP Error - An Internal Error Has Occurred 7 29
HP Stream laptop logging in issue 15 54
Slow Windows 7 PC 9 53
Unable to get rid of Trojans in Windows 7 19 84
When you try to share a printer , you may receive one of the following error messages. Error message when you use the Add Printer Wizard to share a printer: Windows could not share your printer. Operation could not be completed (Error 0x000006…
It’s been over a month into 2017, and there is already a sophisticated Gmail phishing email making it rounds. New techniques and tactics, have given hackers a way to authentically impersonate your contacts.How it Works The attack works by targeti…
This Micro Tutorial will give you a introduction in two parts how to utilize Windows Live Movie Maker to its maximum editing capability. This will be demonstrated using Windows Live Movie Maker on Windows 7 operating system.
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

740 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question