Page tree

You can create a network.ini file to provide network details for each target server in provisioning environments where there is no DHCP server.

The network.ini file provides such details as static IP address, subnet mask, default gateway, WINS server, and DNS servers. An example of an environment where you might use such a file is one in which you provision target servers from local media.

This topic includes the following sections:

To create a network.ini file

  1. In a text editor, create a new file named network.ini. (The file must have this name.)
    You can create a network.ini file and store it in any folder in the WAIK server.
  2. In the file, for each target server, create a section containing its MAC address and network details. Use the following structure and syntax:

    [macAddress]
    STATIC_IP=xxx.xxx.xxx.xxx
    SUBNET_MASK=xxx.xxx.xxx.xxx
    DEFAULT_GATEWAY=xxx.xxx.xxx.xxx
    WINS_PRIMARY_SERVER=xxx.xxx.xxx.xxx
    WINS_SECONDARY_SERVER=xxx.xxx.xxx.xxx
    DNS_SERVER_SEARCH_ORDER=xxx.xxx.xxx.xxx,xxx.xxx.xxx.xxx

    Example

    The following is an example of a network.ini file.

    [00-0C-29-48-EA-7E]
    STATIC_IP=180.138.100.15
    SUBNET_MASK=255.255.255.0
    DEFAULT_GATEWAY=180.138.100.1
    WINS_PRIMARY_SERVER=180.138.100.4
    WINS_SECONDARY_SERVER=180.138.100.10
    DNS_SERVER_SEARCH_ORDER=180.138.100.4,180.138.100.5
    
    [00-0C-20-56-64-2C]
    STATIC_IP=180.138.100.12
    SUBNET_MASK=255.255.255.0
    DEFAULT_GATEWAY=180.138.100.1
    WINS_PRIMARY_SERVER=180.138.100.4

Guidelines

  • All keys are optional. Their sequence does not matter.
  • Key names should be specified as shown; however, key names are case-insensitive.
  • Each section must begin with the target server's MAC address, enclosed by square brackets ([ ]).
  • Separate sections with Microsoft Windows line separators.
  • For DNS_SERVER_SEARCH_ORDER, type a comma-separated list of DNS server IP addresses. The list specifies the order in which the target server searches for a DNS server.

Related BladeLogic ZipKits on BMC Communitites

The following BladeLogic ZipKit contains a package that sets the DNS Server Search order on a network interface using the wmic nicconfig comma.