System Administration Guide, Volume 3

How to Configure the Remote Machine's hosts Database

  1. Become superuser.

  2. Edit the /etc/inet/hosts file to do the following:

    1. Add an entry with the IP address and host name of the PPP network interface for the dial-in server on the other end of the link.

      In Figure 23-1, nomada must have in its /etc/inet/hosts file an entry with the IP address for dial-in server nubian's PPP network interface. This is true also for the /etc/inet/hosts files for nomadb and nomadc.

    2. Add entries with the IP addresses of any machines on the dial-in server`s physical network that the remote host can remotely log in to.

      The /etc/inet/hosts file on nomadc would look like:


      # Internet host table
      #
      127.0.0.1         localhost      loghost
      192.41.43.3       nomadc
      192.41.43.10      nubian-ppp
      192.41.40.20      nismaster

  3. Update the databases on the name server (if the network has one) with the host names and IP addresses of the remote hosts.