Knowledge Base |

# Using the IPINFO.INF to Customize TCP/IP Installation

Article ID: 104904

Article Last Modified on 11/1/2006

APPLIES TO

- Microsoft Windows NT Advanced Server 3.1
- Microsoft Windows NT Workstation 3.1

This article was previously published under Q104904

## SUMMARY

The file IPINFO.INF is used to provide "smart" defaults for the TCP/IP parameters when installing TCP/IP on Windows NT. It can be modified by administrators who have set up Windows NT to be installed over the network or who are providing custom installation floppy disks for their users. .INF files are used during installation to specify how files should be copied and to provide configuration information for software components. These files are ASCII text files and can be edited with text editors such as Notepad or EDIT. To change the defaults for the IP address, subnet mask, or default gateway, edit the [DefaultIPInfo] section of the IPINFO.INF file.

## MORE INFORMATION

The [DefaultIPInfo] section contains the following lines

       DefaultGateway ="xxx.xxx.xxx.xxx",

where xxx.xxx.xxx.xxx represents a valid IP address for the default gateway. If the default gateway is unknown, it can be left blank.

       NumberOfIPAddresses = X,

where X is the number of IP addresses for the computer.

       IPAddress[Y]="xxx.xxx.xxx.xxx"
       SubnetMask[Y]="xxx.xxx.xxx.xxx",

a separate pair of the two values above will be present for each NIC on the computer. These values may be left blank to reflect no default value. The quotation marks MUST be present even if no default value is specified.

By default, the TCP/IP installation program sets the subnet mask based on the address class of the workstation's IP address. For example, if you set up a computer with 1 NIC, use Class A addresses, and subnet on the second octet, you may modify the IPINFO.INF file as follows:

       [DefaultIPInfo]
       DefaultGateway = "102.64.0.1"
       NumberOfIPAddresses = 1
       IPAdress1 = "102.64.0.100"
       SubnetMask1 = "255.192.0.0"

Additional query words: adapter prodnt

Keywords: kbnetwork KB104904