TCP/IP and Data Communications Administration Guide

How to Configure the Remote Machine's hosts Database

  1. Become superuser and prepare to edit the /etc/inet/hosts file.

  2. 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 9-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.

  3. 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
  4. Update the databases on the name server (if the network has one) with the host names and IP addresses of the remote hosts.