Configuration of TCP/IP
After the base operating system of AIX® is installed on your system, you are ready to begin configuring the TCP/IP network for your system.
Many TCP/IP configuration tasks can be performed in more than one way:
- Using the System Management Interface Tool (SMIT)
- Editing a file format
- Issuing a command at the shell prompt.
For example, the rc.net shell script performs required minimum host configuration for TCP/IP during the system startup process (the rc.net script is run by the configuration manager program during the second boot phase). By using SMIT to perform the host configuration, the rc.net file is configured automatically.
Alternatively, you can configure the /etc/rc.bsdnet file using a standard text editor. With this method, you can specify the traditional UNIX TCP/IP configuration commands such as ifconfig, hostname, and route. If using the file edit method, you must enter smit configtcp fast path and then select BSD Style rc Configuration. See List of TCP/IP Programming References in Communications Programming Concepts for information about TCP/IP files and file formats.
A few tasks, such as configuring a name server, cannot be done using SMIT.
Use this procedure as a guide for configuring your network. Ensure that you have read and understood the appropriate material.
- Network hardware is installed and cabled. For more information about installing and cabling your hardware, see TCP/IP local area network adapter cards.
- TCP/IP software is installed. For more information about installing the TCP/IP software, see the Installation and migration.
After you bring your network up and it is running properly, you might find it useful to refer to this checklist for the purpose of debugging.
To configure your TCP/IP network, use the following steps:
- Read TCP/IP protocols for the basic organization of
TCP/IP. You should understand:
- the layered nature of TCP/IP (that is, different protocols reside at different layers)
- how data flows through the layers
- Minimally configure each host machine on the network. This means adding a network
adapter, assigning an IP address, and assigning a host name to each host, as well as defining a
default route to your network. For background information on these tasks, refer to TCP/IP network interfaces, TCP/IP addressing, and Naming hosts on your network.Note: Each machine on the network needs this basic configuration whether it will be an end-user host, a file server, a gateway, or a name server.
- Configure and start the inetd daemon on each host machine on the network. Read TCP/IP daemons and then follow the instructions in Configuring the inetd daemon.
- Configure each host machine to perform either local name resolution or to use a name server. If you are setting up a hierarchical Domain Name network, configure at least one host to function as a name server. Read and follow the instructions in Name resolution.
- If your network will communicate with any remote networks, configure at least one host to function as a gateway. The gateway can use static routes or a routing daemon to perform internetwork routing. Read and follow the instructions in TCP/IP routing.
- Decide which services each host machine on the network will use. By default, all services are available. Follow the instructions in Client network services if you wish to make a particular service unavailable.
- Decide which hosts on the network will be servers, and which services a particular server will provide. Follow the instructions in Server network services to start the server daemons you wish to run.
- Configure any remote print servers you will need. See Printing administration for more information.
- Optional: If desired, configure a host to use or to serve as the master time server for the network. For more information, see the timed daemon.