Installing and Configuring TCP/IP - Tech-FAQ (original) (raw)


Installing TCP/IP

TCP/IP is installed automatically when the Windows Server 2003 setup process runs. It is not usually necessary to install TCP/IP after the Windows Server 2003 setup process completed.

The instances when you might need to manually install TCP/IP are listed below:

How to install the TCP/IP protocol suite

  1. Click Start, Control Panel, and then click Network Connections
  2. In the Network Connections window, right-click the network connection for which you want to install TCP/IP and then click Properties from the shortcut menu.
  3. If you are working with the local area connection, you will use the General tab in the following step. If you are working with any other connection, you will use the Networking tab
  4. Click Install, and then click Protocol.
  5. Click Add to open the Select Network Protocol dialog box.
  6. Click Internet Protocol (TCP/IP) in the dialog box.
  7. Click OK
  8. Confirm that the Internet Protocol (TCP/IP) checkbox is enabled.

Manually Assigning IP Addresses

When you manually assign IP addresses, you assign a particular IP address to a TCP/IP host or client. This statically assigned IP address only changes via a manual configuration.

You would normally manually assign IP addresses under the following conditions:

When you configure the properties of the TCP/IP protocol using the properties of a particular network connection, you can perform the following tasks:

How to manually assign IP Addresses to TCP/IP hosts or clients

  1. Click Start, Control Panel, and then click Network Connections.
  2. Right-click the network connection you want to work with, and then click Properties from the shortcut menu.
  3. If you working with the local area connection, you will use the General tab in the following step. If you are working with any other connection, you will use the Networking tab
  4. On either of these tabs, select Internet Protocol (TCP/IP), and then click the Properties button.
  5. The Internet Protocol (TCP/IP) Properties dialog box opens.
  6. Select the Use The Following IP Address option.
  7. If you are working with the local area connection enter the address, subnet mask, and default gateway in the available fields.
  8. If you are working with any other network connection, assign the proper IP address.
  9. If you want to configure the DNS server settings of the computer, select the Use The Following DNS Server Addresses option, and then enter the primary and secondary DNS server addresses in the Preferred DNS Server text box, and in the Alternate DNS Server text box respectively.
  10. If you want to configure a WINS server, click the Advanced button.
  11. Click OK.

How to configure Advanced DNS settings

  1. Click Start, Control Panel, and then click Network Connections.
  2. Right-click the network connection you want to work with, and then click Properties from the shortcut menu.
  3. If you working with the local area connection, on the General tab, select Internet Protocol (TCP/IP), and then click the Properties btton.
  4. When the Internet Protocol (TCP/IP) Properties dialog box opens, click the Advanced button.
  5. The Advanced TCP/IP Settings dialog box contains four tabs (IP Settings, DNS, WINS, Option) which you can use to either extend or override the settings from the Internet Protocol (TCP/IP) Properties dialog box.
  6. Click the DNS tab.
  7. The DNS Server Addresses, In Order Of Use list displays all the DNS servers configured for this particular client. The DNS Server Addresses, In Order Of Use list can contain up to 20 different DNS servers. A DNS query is sent to the first server in the list. If this DNS server is unable to service the query, the query is sent to the second DNS server in the list, and so forth, until a DNS server returns a valid answer, or until all DNS servers have been tried.
  8. To add, remove, and edit DNS servers from the DNS Server Addresses, In Order Of Use list, click the appropriate button: Add button, Edit button, Remove button.
  9. To change the order of the DNS servers listed in the DNS Server Addresses, In Order Of Use list, click the server whose order you want to change, and then use the Up and Down arrows to position the server.
  10. Click the Append Primary And Connection Specific DNS Suffixes option if you want DNS to automatically append the primary DNS suffix and all other connection specific suffixes when DNS requests are made.
  11. Click the Append Parent Suffixes Of The Primary DNS Suffix checkbox if you want the parent suffixes of the primary suffix appended.
  12. Click the Append These DNS Suffixes (In Order) option if you want to specify the list of suffixes for DNS, rather than using any primary and connection specific suffixes.
  13. If you want to define a default connection suffix to append to DNS queries, enter it in the DNS Suffix For This Connection text box.
  14. Select the Register This Connection’s Addresses In DNS checkbox if you want the DHCP client to register its name and IP address with the closest dynamic DNS server.
  15. Select the Use This Connection’s DNS Suffix In DNS Registration checkbox if you want the primary or connection specific DNS suffix to be used in the client registration with the dynamic DNS service.
  16. Click OK to close the Advanced TCP/IP Settings dialog box.
  17. Click OK to close the Internet Protocol (TCP/IP) Properties dialog box.

How to configure a WINS client

WINS listens to NetBIOS over TCP/IP (NBT) and then collects these broadcasts to a central source. If your clients are set up to utilize a WINS server, NBT addresses can be resolved without broadcasts being used. The method which your client would use is determined by the node type configured for the client. The NTB settings which you configure on the WINS tab of the Advanced TCP/IP Settings dialog box determine the client’s node type.

The NetBIOS node types are listed below:

To configure a WINS client,

  1. Click Start, Control Panel, and then click Network Connections.
  2. Right-click the network connection you want to work with, and then click Properties from the shortcut menu.
  3. If you working with the local area connection, on the General tab, select Internet Protocol (TCP/IP), and then click the Properties button.
  4. When the Internet Protocol (TCP/IP) Properties dialog box opens, click the Advanced button.
  5. The Advanced TCP/IP Settings dialog box contains four abs (IP Settings, DNS, WINS, Options) which you can use to extend or override the settings of the Internet Protocol (TCP/IP) Properties dialog box dialog box.
  6. Click the WINS tab.
  7. Click Add
  8. In the TCP/IP WINS Server dialog box, enter the IP address of the WINS server, and then click the Add button.
  9. The initial server in the WINS address list group must be the server physically nearest to the actual client machine.
  10. You can enter additional WINS servers and change the order of the servers.
  11. If you want to enable LMHOSTS lookups for _all_connections which are using TCP/IP, click the Enable LMHOSTS Lookup checkbox.
  12. The settings which you can configure in the NetBIOS Setting portion of the WINS tab are listed below:
    • Default: Use NetBIOS Setting From The DHCP Server; this option forces the client to use the settings of the DHCP server over the WINS settings and LMHOSTS file settings.
    • Enable NetBIOS Over TCP/IP; this option overrides DHCP settings
    • Disable NetBIOS Over TCP/IP; this option disables NetBIOS Over TCP/IP.
  13. Click OK to close the Advanced TCP/IP Settings dialog box.
  14. Click OK to close the Internet Protocol (TCP/IP) Properties dialog box.

Dynamically Assigning IP Addresses

In Windows Server 2003, dynamic IP addressing is enabled by Dynamic Host Configuration Protocol (DHCP). The Dynamic Host Configuration Protocol (DHCP) is a protocol and service that functions at the application layer of the TCP/IP protocol suite. The DHCP protocol automates the configuration of TCP/IP clients because IP addressing occurs through the system. You can configure a computer as a DHCP server so that the DHCP server can automatically assign IP addresses to DHCP clients, and with no manual intervention. IP addresses that are assigned via a DHCP server are regarded as dynamically assigned IP addresses. The DHCP server assigns IP addresses from a predetermined IP address range(s).

Using dynamic IP addressing leads the following benefits:

For dynamic IP addressing to occur, the following tasks has to be completed:

To install the DHCP server, you would need to perform the following steps:

A _scope_can be defined as a set of IP addresses which the DHCP server can allocate or assign to DHCP clients. A scope contains specific configuration information for clients that have IP addresses which are within the particular scope. Scope information for each DHCP server is specific to that particular DHCP server only, and is not shared between DHCP servers. Scopes for DHCP servers are configured by administrators.

Microsoft Windows computers running TCP/IP automatically install the DHCP client service as a component of TCP/IP. This includes servers and workstations running:

How to install the DHCP service

  1. Log on to the server using Administrative privileges.
  2. Click Start, Control Panel, and then click Add Or Remove Programs.
  3. When the Add Or Remove Programs dialog box opens, click Remove Windows Components.
  4. This starts the Windows Components Wizard.
  5. In the Components list box, select Networking Services, and then click the Details button.
  6. The Networking Services dialog box opens.
  7. In the Sub-components Of Networking Services list box, check the Dynamic Host Configuration Protocol (DHCP) checkbox.
  8. Click OK.
  9. Click Next.
  10. When The Completing The Windows Components Wizard page is displayed, click Finish.

How to authorize the DHCP server

  1. Click Start, All Programs, Administrative Tools and then click DHCP to open the DHCP management console.
  2. In the console tree, expand the DHCP server node.
  3. Click the DHCP server.
  4. Click the Action menu, and then select Authorize.

How to create and configure a DHCP scope for the DHCP server

  1. Click Start, All Programs, Administrative Tools and then click DHCP to open the DHCP management console.
  2. In the console tree, expand the DHCP server node.
  3. Select the DHCP server.
  4. Click the Action menu, and then select New Scope
  5. The New Scope Wizard starts.
  6. Click Next on the initial page of the New Scope Wizard.
  7. On the Scope Name page, enter a name for the new scope in the Name text box.
  8. Enter a description in the Description text box. Click Next.
  9. On the IP Address Range page, enter the start IP address and end IP address that defines the range of new scope in the Start IP Address text box, and End IP Address text box respectively.
  10. The server automatically provides the mask in the Subnet Mask text box.
  11. Select the value in the Length spin box. The subnet length mask is automatically defined as 24. Click Next.
  12. On the Add Exclusions page, using the Start IP Address End IP Address text boxes, define any exclusion. Click Add. Click Next.
  13. On the Lease Duration page, you can change the default lease duration of 8 days. Click Next.
  14. On Configure DHCP Options page, click the No, I Will Configure These Options Later option to indicate that you will configure the DHCP options later. Click Next.
  15. On the Completing The New Scope Wizard page, click Next.

How to configure TCP/IP for dynamic addressing from a DHCP server

  1. Click Start, Control Panel, and then click Network Connections.
  2. Right-click the network connection you want to work with, and then click Properties from the shortcut menu.
  3. If you are working with the local area connection, on the General tab, select Internet Protocol (TCP/IP), and then click the Properties button
  4. When the Internet Protocol (TCP/IP) Properties dialog box opens, click the Obtain An IP Address Automatically option.
  5. If you want the client to automatically obtain DNS server information from the DHCP server, select the Obtain DNS Server Address Automatically option.
  6. Click OK.

How to configure an Alternate IP Addressing Configuration

You can configure alternate IP address configuration parameters which can be used if the DHCP server cannot be accessed. Configuring the alternate IP address configuration is ideal for laptop computers which connect to a number of different networks.

An alternate I addressing configuration contains the following settings:

To configure an alternate IP addressing configuration,

  1. Click Start, Control Panel, and then click Network Connections.
  2. Right-click Local Area Connection, and then click Properties from the shortcut menu.
  3. On the General tab, select Internet Protocol (TCP/IP), and then click the Properties button.
  4. On the Internet Protocol (TCP/IP) Properties dialog box select the Obtain IP Address Automatically option.
  5. Click the Alternate Configuration tab.
  6. The Automatic Private IP address option is selected by default on the Alternate Configuration tab.
  7. Click the User configured button.
  8. Enter the appropriate information in the provided text boxes:
    • IP address
    • Subnet mask
    • Default gateway
    • Preferred DNS server
    • Alternate DNS server
    • Preferred WINS server
    • Alternate WINS server
  9. Click OK

Troubleshooting TCP/IP Addressing

One of the more common issues that arise in TCP/IP networks is the duplication of IP addresses. Duplicated IP addresses result in packets being sent to the incorrect destination computers. Windows operating systems can however detect the duplication of IP addresses.

The process that occurs to detect duplicate IP addresses is illustrated below:

  1. When the computer starts, the system checks for any duplicate IP addresses
  2. The TCP/IP protocol stack is disabled on the computer when the system detects duplicate IP addresses.
  3. An error message is shown that indicates the hardware address of the other system that this computer is in conflict with.
  4. The computer that initially owned the duplicate IP address experiences no interruptions, and operates as normally.
  5. You have to reconfigure the conflicting computer with a unique IP address so that the TCP/IP protocol stack can be enabled on that particular computer again.

A few strategies for troubleshooting TCP/IP addressing issues are briefly discussed below: