[ Next Article | Previous Article | Book Contents | Library Home | Legal | Search ]
Network Information Services (NIS and NIS+) Guide

Name Services Overview

Name services store information that allows users, workstations, and applications to communicate across the network. Without a name service, each workstation would have to maintain its own copy of such information as machine addresses, user names, passwords, and network access permissions. With name services, the information may be stored in centrally located files or database tables, which makes it easier to administer large networks.

For example, take a simple network of three workstations, pine, elm, and oak. Before pine can send a message to either elm or oak, it must know their network addresses. For this reason, it keeps a file, /etc/hosts, that stores the network address of every workstation in the network, including itself.

Likewise, for elm and oak to communicate with pine or with each other, they must keep similar files.

Addresses are not the only network information that workstations need to store. They also need to store security information, mail information, information about their Ethernet interfaces, network services, groups of users allowed to use the network, services offered on the network, and so on. As networks offer more services, the list grows. As a result, each workstation may need to keep an entire set of files similar to /etc/hosts.

As this information changes, administrators must keep it current on every workstation in the network. In a small network, this is simply tedious, but on a medium or large network, the job becomes not only time-consuming but nearly unmanageable. A network information service addresses this problem. It stores network information on servers and provides it to any workstation that asks for it.

The workstations are known as clients of the server. Whenever information about the network changes, instead of updating each client's local file, an administrator updates only the information stored by the network information service. This reduces errors, inconsistencies between clients, and the sheer size of the task.

Although the chief purpose of a network information service is to centralize information, another is to simplify network names. A network information service enables workstations to be identified by common names instead of numerical addresses. (This is why these services are sometimes called name services.) This makes communication simpler because users do not have to remember and try to enter cumbersome physical addresses, such as 129.44.3.1. Instead, they can use descriptive names, such as Sales, Lab1, or Arnold.

Names are also more flexible than physical addresses. While physical addresses and networks tend to remain stable, the organizations that use them tend to change structure and nomenclature. A network information service uses software to map these changes to an unchanged physical network.


[ Next Article | Previous Article | Book Contents | Library Home | Legal | Search ]