Skip Navigation Links | |
Exit Print View | |
Managing Serial Networks Using UUCP and PPP in Oracle Solaris 11.1 Oracle Solaris 11.1 Information Library |
2. Planning for the PPP Link (Tasks)
3. Setting Up a Dial-up PPP Link (Tasks)
4. Setting Up a Leased-Line PPP Link (Tasks)
5. Setting Up PPP Authentication (Tasks)
6. Setting Up a PPPoE Tunnel (Tasks)
Major Tasks for Setting Up a PPPoE Tunnel (Task Maps)
Setting Up a PPPoE Access Server
How to Set Up a PPPoE Access Server
How to Modify an Existing /etc/ppp/pppoe File
How to Restrict the Use of an Interface to Particular Clients
7. Fixing Common PPP Problems (Tasks)
8. Solaris PPP 4.0 (Reference)
9. Migrating From Asynchronous Solaris PPP to Solaris PPP 4.0 (Tasks)
To provide PPP to client systems over DSL, you must first configure PPPoE on the interface that is connected to the modem or hub. Then you need to change the PPP configuration files to define the access server on the opposite end of the PPPoE.
Before you set up the PPPoE client, you must have done the following:
Installed Oracle Solaris release on the client machines to use the PPPoE tunnel.
Contacted the service provider for information about its PPPoE access server.
Had the telephone company or service provider assemble the devices that are used by the client machines. These devices include, for example, the DSL modem and the splitter, which the telephone company rather than you might assemble.
Use this procedure to define the Ethernet interface to be used for the PPPoE tunnel.
For more information, see How to Use Your Assigned Administrative Rights in Oracle Solaris 11.1 Administration: Security Services.
For example, you add the following entry to /etc/ppp/pppoe.if for a PPPoE client that uses hme0 as the network interface that is connected to the DSL modem.
hme0
For more information about /etc/ppp/pppoe.if, go to /etc/ppp/pppoe.if File.
# /etc/init.d/pppd start
# /usr/sbin/sppptun query hme0:pppoe hme0:pppoed
You can also use the /usr/sbin/sppptun command to manually plumb interfaces for PPPoE. For instructions, refer to /usr/sbin/sppptun Command.
You define the access server in the /etc/ppp/peers/peer-name file. Many of the options that are used for the access server are also used to define the dial-in server in a dial-up scenario. For a detailed explanation of /etc/ppp/peers.peer-name, refer to /etc/ppp/peers/peer-name File.
For more information, see How to Use Your Assigned Administrative Rights in Oracle Solaris 11.1 Administration: Security Services.
For example, the following file, /etc/ppp/peers/dslserve, defines the access server dslserve at Far ISP that is introduced in Example of a Configuration for a PPPoE Tunnel.
# cat /etc/ppp/peers/dslserve sppptun plugin pppoe.so connect "/usr/lib/inet/pppoec hme0" noccp noauth user Red password redsecret noipdefault defaultroute
For a definition of the options in this file, go to /etc/ppp/peers/peer-name File for Defining an Access Server Peer.
You can use any options that are available for the /etc/ppp/options.ttyname file that is described in /etc/ppp/options.ttyname Configuration File. You must name the file /etc/ppp/options.sppptun because sppptun is the specified device name in the pppd configuration.
# touch /etc/ppp/options
% pppd debug updetach call dslserve
dslserve is the name that is given to the access server at the ISP that is shown in Example of a Configuration for a PPPoE Tunnel. The debug updetach option causes debugging information to be displayed in a terminal window.
If PPP is running correctly, the terminal output shows the link becoming active. If PPP still does not run, try the following command to see if the servers are running correctly:
# /usr/lib/inet/pppoec -i hme0
Note - Users of configured PPPoE clients can begin running PPP over a DSL line by typing the following:
% pppd call ISP-server-name
Then the users can run an application or a service.
See Also
The following list provides references to related information.