Article ID: 309642 - View products that this article applies to.
This article was previously published under Q309642
This article describes how to configure a static client for Internet Connection Sharing (ICS). Windows XP ICS automatically configures internal clients so that they can access the Internet by using ICS. However, you may need to configure a host, such as a server, statically rather than allowing the host to be configured dynamically. To properly configure the host with static settings, you must provide the host with IP address and host name resolution information. Also, you must configure the ICS host (the Windows XP-based computer that is running ICS) with the name of the client so that name resolution can function properly.
To configure a static client on the ICS private network, you use the following general steps:
Windows XP ICS uses the private network of 192.168.0.x to dynamically assign addresses to clients. In addition, the ICS host keeps track of the names of internal clients to facilitate name resolution. The remainder of this article describes the process of statically configuring an ICS client, while taking these two factors into account.
Configuring the IP AddressWhen you select an address for the statically configured internal host, it is a good idea to pick an address that has not already been assigned to a client. However, when ICS assigns an IP address, Windows XP sends an Address Resolution Protocol (ARP) broadcast to make sure that the address is not already in use on the network. If Windows XP receives a reply to the ARP broadcast, a new address is selected and the process starts again. Therefore, if you choose an address that is already in use on the network, it creates a temporary problem on the network that should be resolved the next time the conflicting client requests an IP address. The address that you select for the statically configured client must be on the 192.168.0.x network (for example, 192.168.0.100). The only three addresses on the network that you cannot use are 192.168.0.0 (the network address), 192.168.0.1 (the ICS host), and 192.168.0.255 (the broadcast address). Valid address range from 192.168.0.2 through 192.168.0.254.
Configuring the Default Gateway, DNS, and Host NameICS clients must be configured to use the ICS host for their default gateway and DNS server. This causes the ICS host to act as a gateway to the Internet for the client, and takes care of resolving names for the client. With Windows XP ICS, the internal interface that is used by ICS always has an address of 192.168.0.1. Therefore, you must configure the static clients to use this address for Domain Name System (DNS) and Dynamic Host Configuration Protocol (DHCP) requests.
Windows XP ICS also always uses a domain name of MSHOME.NET. Therefore, to specify a fully qualified host name for a client, you must use the client computer name followed by ".MSHOME.NET". For example, "COMPUTER1.MSHOME.NET" is the fully qualified name of an internal client with a name of COMPUTER1.
To configure a static client, use the following steps.
NOTE: This article assumes that the client computer is running Windows XP. The same objectives no matter which operating system is running on the client, but the actual process may differ.
Adding Static Clients to the Hosts FileTo complete the static configuration, lest each static client in the Hosts file on the ICS host. The Hosts file helps to speed up name resolution and prevents unnecessary queries from being sent to DNS servers on the Internet. For a dial-up connection to the Internet, adding static clients to the Hosts file helps to minimize the traffic that causes the Internet connection to be dialed.