System Administration Guide, Volume 3

Types of Addressing Schemes

You have a choice of several addressing schemes for PPP, depending on your configuration type. Before you edit the asppp.cf file and hosts database, you must decide on the appropriate addressing scheme for your configuration. These schemes include:

Using the Same IP Address as the Primary Network Interface

This addressing scheme is appropriate for point-to-point links only. In this scheme, you specify the addresses of the primary network interface for each endpoint. (See Chapter 2, Network Services Overview for more information about the primary network interface.) These endpoints might be:

When you edit the /etc/inet/hosts file on a local endpoint, supply the IP address of its primary network interface and host name and the IP address of the peer host on the other end of the link.

Creating a Unique IP Address and Host Name

In this method, you assign a unique host name and IP address to the PPP network interface. (You might want to call the interface hostname-ppp.) Use this addressing scheme for:

You must specify the unique address and host name for the PPP network interface in the asppp.cf configuration file.

To create the new host name and IP address, add it to the /etc/inet/hosts file on the endpoint machines, as described in "hosts Database".

Assigning a Network Number to the PPP Link

You create a new network number for the PPP configuration when it involves:

(See Chapter 5, Planning Your TCP/IP Network for information on network numbers.)

The PPP link becomes a virtual network, since it does not involve any physical network media. You need to type its network number in the networks database on all endpoint machines, along with the network numbers of the networks being linked.

The following sample shows an /etc/inet/networks file for an internetwork with PPP.


Example 22-1 /etc/inet/networks File for an Internetwork With PPP


kalahari      192.9.253
negev         192.9.201
nubian-ppp    192.29.15

In the sample file, kalahari and negev are two local area networks, and nubian-ppp is the name of the PPP link.