Creating a network.ini file
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
- 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.
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
- 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.