Solved

Networking with Windows XPMode

Posted on 2013-12-16
9
335 Views
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?

Erik
0
Comment
Question by:FastFord
  • 4
  • 3
  • 2
9 Comments
 
LVL 77

Expert Comment

by:arnold
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?
0
 

Author Comment

by:FastFord
ID: 39723097
compatibility mode does not work, application will not install on win7 64bit. The problem is how/where to set the IP address....host vs vm
0
 
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 10.0.0.1, 10.0.0.2 and 10.0.0.3 and all should share the same subnet mask of 255.255.255.0. 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.
0
Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

 

Author Comment

by:FastFord
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 VM...do 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...
0
 
LVL 77

Expert Comment

by:arnold
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.
0
 
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.
0
 
LVL 77

Expert Comment

by:arnold
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 .......
0
 

Accepted Solution

by:
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.
0
 

Author Closing Comment

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

Featured Post

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
extend monitor issues 6 43
changing harddisk on computer in corporate 10 67
Need To Expand VMware Disk Size 50 79
Connection reset by peer 18 30
For both online and offline retail, the cross-channel business is the most recent pattern in the B2C trade space.
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…
In this Micro Tutorial viewers will learn how to use Boot Corrector from Paragon Rescue Kit Free to identify and fix the boot problems of Windows 7/8/2012R2 etc. As an example is used Windows 2012R2 which lost its active partition flag (often happen…
This Micro Tutorial will give you a basic overview of Windows Live Photo Gallery and show you various editing filters and touches to photos you can apply. This will be demonstrated using Windows Live Photo Gallery on Windows 7 operating system.

809 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