Chapter 2: Configuring TCP/IP

Previous Page Next Page

2.4.1 Update the HOSTS Database

TCP/IP uses a flat text file called HOSTS to store name-to-address mappings. This file is explained in detail in section C.2.1 HOSTS.

Novell provides a sample HOSTS file with some of their products. This file is stored in SYS:/ETC/SAMPLES/HOSTS. If you wish to use this file as a guide, you must copy it to the SYS:/ETC/ directory.

At a minimum, you will need to have two lines in the HOSTS file. The first line will reference the loopback address of 127.0.0.1, used by all TCP/IP stacks. This line looks like the following:

The next line will be an entry for this system’s IP address. This line will contain the host IP address, hostname, and the fully-qualified name (the hostname plus the domain name) if a domain name has been specified. For example, the host-specific entry in a HOSTS file for the server detailed in the sample configuration worksheet would look like the following:

The first column contains the IP address of the system, while the second column contains the hostname we assigned to the system, while the third column contains the fully-qualified domain name for this system (the hostname plus the domain name).

If you have other systems on your network and do not use DNS, then you should add entries for those other systems to the local HOSTS file at this time. In addition, you should add this system’s information to the HOSTS file on those other systems at this time as well.

NOTE: You should not give WRITE permissions to the HOSTS file to anybody except supervisor-equivalent users. If someone mistakenly overwrites or otherwise corrupts this file, you will have difficulties with your TCP/IP installation.

STEP: To continue to the next step in the configuration process, go to section 2.4.2 Update the DNS Server Databases.

Previous Page Next Page

Copyright 1997 Unoverica Corporation, All Rights Reserved page
Send comments to docs@unoverica.com