다음을 통해 공유


Machine Name to IP Address Maps (Windows Embedded CE 6.0)

1/6/2010

ICS uses registry keys to keep track of mappings between internal device names and IPv4 addresses, as well as to assign a specific IPv4 address to a particular internal device — for example, to set up a static port mapping. The devices on the 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.

See Also

Concepts

Network Address Translation