Question
I have 2 or more network cards installed in a computer where both are using TCP/IP protocol. I can PING the WinPLC, but cannot connect using ESP.
Answer
When 2 or more network cards are installed in a computer, this is referred to as a "multi-homed" system.
The protocol manager needs to know which network card to send the TCP/IP packets over, and the WinPLC needs to know which one to respond to. This presents a requirement known as "IP Forwarding".
There are (2) requirements for resolving this issue.
You must enable IP Forwarding. This is handled differently for Windows NT and Windows 2000.
For Windows NT:
Go to Control Panel->Networks->Protocols, and choose TCP/IP. Then click on the Properties button, and a dialog shall appear. Click on the tab labelled "Routing", and place a check mark next to "Enable IP Forwarding", then choose OK. Choose OK again to close the Network properties dialog, and reboot as instructed by the Windows NT.
For Windows 2000:
WARNING: Using Registry Editor incorrectly can cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that problems resulting from the incorrect use of Registry Editor can be solved. Use Registry Editor at your own risk.
For information about how to edit the registry, view the "Changing Keys And Values" Help topic in Registry Editor (Regedit.exe) or the "Add and Delete Information in the Registry" and "Edit Registry Data" Help topics in Regedt32.exe. Note that you should back up the registry before you edit it. If you are running Windows NT, you should also update your Emergency Repair Disk (ERD).
Steps:
- Click on Start->Run, and type 'regedit' and press ENTER
- Navigate to the key [HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesTcpipParameters]
- Find the value "IPEnableRouter", and double click on it
You will now get an opportunity to change it's value. Change it to '1' (without the quotes) to enable IP Forwarding.
- Reboot the machine to refresh the registry cache.
After enabling IP Forwarding, you must set the WinPLC's Default Gateway address to point to the Static IP Address of the Network Card that is connected to the WinPLC. This can be done through the standard "Reset using IPX", or if the WinPLC is available, through "Configure..." from ESP.
FAQ Subcategory: Communications
This item was last updated on 2013-09-26
Document ID: 893
The information provided in the AutomationDirect
knowledge base is provided "as is" without warranty of any
kind. AutomationDirect disclaims all warranties, either
express or implied, including the warranties of
merchantability and fitness for a particular purpose. In no
event shall AutomationDirect or its suppliers be liable
for any damages whatsoever including direct, indirect,
incidental, consequential, loss of business profits or
special damages, even if AutomationDirect or its
suppliers have been advised of the possibility of such
damages. Some states do not allow the exclusion of
limitation of liability for consequential or incidental
damages so the foregoing limitation may not apply.