Share via


Mapping Machine Names to IP Addresses on the Local Network

ICS uses registry keys to keep track of mappings between internal device names and IP addresses, as well as to assign a specific IP address to a particular internal device — for example, to set up a static port mapping. The devices on the home network are identified by hardware address, so if you use a different NIC on the device, the mapping no longer applies. These keys can be set by the NAT itself when the NAT receives a DHCP request, or preconfigured by a configuration tool, such as an administrative web page.

The mapping information is contained under the HKEY_LOCAL_MACHINE\Comm\ConnectionSharing\Addresses registry key. Each IP corresponds to an Address subkey contained under this registry key — for example, HKEY_LOCAL_MACHINE\Comm\ConnectionSharing\Addresses\192.168.0.2. Each Address subkey itself contains addition subkeys that provide information about the mappings between the machine names and IP addresses.

The following table shows the subkeys that each Address subkey contains.

Subkey Description
DeviceName Specifies the name of the device that is associated with the IP address that corresponds to the Address subkey that contains this DeviceName subkey.
Expires Specifies the time at which an IP address becomes invalid.

 Last updated on Friday, April 02, 2004

© 1992-2000 Microsoft Corporation. All rights reserved.