Skip Navigation Links | |
Exit Print View | |
![]() |
System Administration Guide: Network Services Oracle Solaris 11 Express 11/10 |
Part I Network Services Topics
Part II Accessing Network File Systems Topics
4. Managing Network File Systems (Overview)
5. Network File System Administration (Tasks)
6. Accessing Network File Systems (Reference)
8. Planning and Enabling SLP (Tasks)
10. Incorporating Legacy Services
Part V Serial Networking Topics
15. Solaris PPP 4.0 (Overview)
16. Planning for the PPP Link (Tasks)
17. Setting Up a Dial-up PPP Link (Tasks)
18. Setting Up a Leased-Line PPP Link (Tasks)
19. Setting Up PPP Authentication (Tasks)
20. Setting Up a PPPoE Tunnel (Tasks)
21. Fixing Common PPP Problems (Tasks)
22. Solaris PPP 4.0 (Reference)
Using PPP Options in Files and on the Command Line
How PPP Configuration File Privileges Work
/etc/ppp/options Configuration File
/etc/ppp/options.tmpl Template
Where to Find Examples of the /etc/ppp/options Files
/etc/ppp/options.ttyname Configuration File
Using /etc/ppp/options.ttyname on a Dial-in Server
Using /etc/ppp/options.ttyname on a Dial-out Machine
options.ttya.tmpl Template File
Where to Find Examples of the /etc/ppp/options.ttyname Files
Configuring User-Specific Options
Configuring $HOME/.ppprc on a Dial-in Server
Configuring $HOME/.ppprc on a Dial-out Machine
Specifying Information for Communicating With the Dial-in Server
/etc/ppp/peers/myisp.tmpl Template File
Where to Find Examples of the /etc/ppp/peers/peer-name Files
Configuring Modem Speed for a Dial-up Link
Defining the Conversation on the Dial-up Link
/etc/ppp/myisp-chat.tmpl Chat Script Template
Modem Chat Script for Calling an ISP
Basic Chat Script Enhanced for a UNIX-Style Login
Chat Script for External ISDN TA
How to Invoke a Chat Script (Task)
Creating a Chat File That Is Executable
How to Create an Executable Chat Program
Authenticating Callers on a Link
Password Authentication Protocol (PAP)
What Happens During PAP Authentication
Using the login Option With /etc/ppp/pap-secrets
Challenge-Handshake Authentication Protocol (CHAP)
What Happens During CHAP Authentication
Creating an IP Addressing Scheme for Callers
Assigning Dynamic IP Addresses to Callers
Creating PPPoE Tunnels for DSL Support
Files for Configuring Interfaces for PPPoE
Examples of sppptun Commands for Administering Interfaces
PPPoE Access Server Commands and Files
Using PPPoE and PPP Files to Configure an Access Server
PPPoE Client Commands and Files
/etc/ppp/peers/peer-name File for Defining an Access Server Peer
23. Migrating From Asynchronous Solaris PPP to Solaris PPP 4.0 (Tasks)
25. Administering UUCP (Tasks)
Part VI Working With Remote Systems Topics
27. Working With Remote Systems (Overview)
28. Administering the FTP Server (Tasks)
29. Accessing Remote Systems (Tasks)
Part VII Monitoring Network Services Topics
Consider creating one or more IP addresses for all incoming calls instead of assigning a unique IP address to each remote user. Dedicated IP addresses are particularly important if the number of potential callers exceeds the number of serial ports and modems on the dial-in server. You can implement a number of different scenarios, depending on your site's needs. Moreover, the scenarios are not mutually exclusive.
Dynamic addressing involves the assignment to each caller of the IP address that is defined in /etc/ppp/options.ttyname. Dynamic addressing occurs on a per-serial port basis. When a call arrives over a serial line, the caller receives the IP address in the /etc/ppp/options.ttyname file for the call's serial interface.
For example, suppose a dial-in server has four serial interfaces that provide dial-up service to incoming calls:
For serial port term/a, create the file /etc/ppp/options.term.a with the following entry:
:10.1.1.1
For serial port term/b, create the file /etc/ppp/options.term.b with the following entry:
:10.1.1.2
For serial port term/c, create the file /etc/ppp/options.term.c with the following entry:
:10.1.1.3
For serial port term/d, create the file /etc/ppp/options.term.d with the following entry:
:10.1.1.4
With the previous addressing scheme, an incoming call on serial interface /dev/term/c is given the IP address 10.1.1.3 for the duration of the call. After the first caller hangs up, a later call that comes in over serial interface /dev/term/c is also given the IP address 10.1.1.3.
The advantages of dynamic addressing include the following:
You can track PPP network usage down to the serial port.
You can assign a minimum number of IP addresses for PPP use.
You can administer IP filtering in a more simplified fashion.
If your site implements PPP authentication, you can assign specific, static IP addresses to individual callers. In this scenario, every time a dial-out machine calls the dial-in server, the caller receives the same IP address.
You implement static addresses in either the pap-secrets or chap-secrets database. Here is a example of an /etc/ppp/pap-secrets file that defines static IP addresses.
joe myserver joepasswd 10.10.111.240 sally myserver sallypasswd 10.10.111.241 sue myserver suepasswd 10.10.111.242
joe, sally, and sue are the names of the authorized callers.
myserver indicates the name of the server.
joepasswd, sallypasswd, and suepasswd indicate the passwords for each caller.
10.10.111.240 and 10.10.111.241 and 10.10.111.242 are the IP addresses assigned to each caller.
Here is a example of an /etc/ppp/chap-secrets file that defines static IP addresses.
account1 myserver secret5748 10.10.111.244 account2 myserver secret91011 10.10.111.245
account1 and account2 indicate the names of the callers.
myserver indicates the name of the server for each caller.
secret5748 and secret91011 indicates the CHAP secret for each caller.
10.10.111.244 and 10.10.111.245 are the IP addresses for each caller.
If you are using either PAP or CHAP authentication, you can assign IP addresses to callers by the sppp unit number. The following shows an example of this usage.
myclient ISP-server mypassword 10.10.111.240/28+
The plus sign (+) indicates that the unit number is added to the IP address. Note the following:
Addresses 10.10.111.240 through 10.10.111.255 are assigned to remote users.
sppp0 gets IP address 10.10.111.240.
sppp1 gets IP address 10.10.111.241 and so on.