Using the IPINFO.INF to Customize TCP/IP Installation

Last reviewed: May 9, 1997
Article ID: Q104904
The information in this article applies to:
  • Microsoft Windows NT operating system version 3.1
  • Microsoft Windows NT Advanced Server version 3.1

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 nttcp
Version : 3.1
Platform : WINDOWS


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: May 9, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.