After ensuring that PPP is installed on every machine involved in your configuration, your next task is to edit the /etc/inet/hosts files on each machine. You must add host information to the hosts database for every machine on the other end of the PPP link that the local machine needs to communicate with.
You must update /etc/inet/hosts regardless of the name service in use on the physical network. This is necessary because PPP starts before the name service daemons during the booting process.
Become superuser.
Edit the /etc/inet/hosts file to do the following:
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.
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 |
Update the databases on the name server (if the network has one) with the host names and IP addresses of the remote hosts.
Multipoint dial-in servers must have a unique IP address for the PPP interface, besides the local IP address for the primary network interface. When configuring the hosts database for the dial-in server, you need to perform the following procedure.
Become superuser.
Add an entry with the IP address for the PPP interface to the /etc/inet/hosts file for the dial-in server.
For example, the /etc/hosts file on dial-in server nubian in Figure 23-1 would have the following entries.
# Internet host table # 127.0.0.1 localhost loghost 192.41.43.10 nubian-ppp 192.41.40.45 nubian |
For configurations where the server's physical network does not use a name service:
Add a new network number to the dial-in server's /etc/inet/networks file for the network that consists of the server and its remote hosts.
Refer to "Assigning a Network Number to the PPP Link" for more information.