How to have a pcAnywhere host wait on a particular TCP/IP address
Situation:
You are using Remote Access Server (RAS) and may have multiple network cards (NICs) installed in the computer. You have configured the pcAnywhere host to wait with TCP/IP. When the pcAnywhere host waits, it does not use the TCP/IP address that you want it to use.
Solution:
If you are using pcANYWHERE32 8.0, ensure you are using the latest version. To download the latest pcANYWHERE32 8.0 files, see the document pcANYWHERE32 8.0 Periodic Update File.
If you are using pcAnywhere 9.x or you have updated pcANYWHERE32 8.0 as recommended, navigate to the following key in the Windows Registry:
HKEY_LOCAL_MACHINE\SOFTWARE\Symantec\pcANYWHERE\CurrentVersion\System
Create the following two DWORD entries under this key:
- TCPIPHostBindMode
- TCPIPHostAddressIndex
Change the value of
TCPIPHostBindMode to 2. This will direct pcAnywhere to bind to the IP address referred to by the
TCPIPHostAddressIndex value.
Change the value of
TCPIPHostAddressIndex to the index value that equates to the desired IP address.
NOTES:
- When TCPIPHostBindMode is set to 0 (default value), pcAnywhere will wait on the first available or default TCP/IP address.
- The TCPIPHostAddressIndex value is not an IP address. It is the relative position the IP address holds in the system's IP configuration (0,1,2,3, etc.). This position is determined by the OS. Depending on what OS you are using, you maybe able to change the order in which the API call GetHostByName returns the available IP addresses. We suggest that you set TCPIPHostAddressIndex to 0 and gradually increase it until pcAnywhere is waiting on the correct IP address. In some situations, the IP address that appears on the pcAnywhere host waiting screen is not always the IP address that TCPIPHostAddressIndex has been set for. pcAnywhere will still answer on the correct IP address.
- If you want to change the order that the OS returns the IP addresses, see this Microsoft document:
How to Change the IP Address List Order Returned (Q171320)
Sample output from the IPCONFIG utility
Windows NT IP Configuration
Ethernet adapter El59x7:
IP Address. . . . . . . . . : 155.150.150.150 (TCPIPHostAddressIndex=0)
Subnet Mask . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . : 155.150.150.1
Ethernet adapter El90x1:
IP Address. . . . . . . . . : 155.155.155.153 (TCPIPHostAddressIndex=1)
Subnet Mask . . . . . . . . : 255.255.0.0
IP Address. . . . . . . . . : 155.155.155.155 (TCPIPHostAddressIndex=2)
Subnet Mask . . . . . . . . : 255.255.0.0
Default Gateway . . . . . . : 155.155.155.1
Ethernet adapter NdisWan9:
IP Address. . . . . . . . . : 0.0.0.0 (TCPIPHostAddressIndex=3)
Subnet Mask . . . . . . . . : 0.0.0.0
Default Gateway . . . . . . :
Ethernet adapter NdisWan5:
IP Address. . . . . . . . . : 0.0.0.0 (TCPIPHostAddressIndex=4)
Subnet Mask . . . . . . . . : 0.0.0.0
Default Gateway . . . . . . :
In this example, if you wanted pcAnywhere to wait on IP address 155.155.155.153, you would set the registry value
TCPIPHostAddressIndex to equal "1".
Tutorials
Document ID: 19973683442
Last Modified: 09/17/2003
Date Created: 03/06/1997
Operating System(s): Windows 95, Windows 98, Windows NT 4.0, Windows 2000
Product(s): pcAnywhere 9.0