Use this procedure to define the Ethernet interface to be used for the PPPoE tunnel and to configure the services that the access server offers.
For more information, see Using Your Assigned Administrative Rights in Securing Users and Processes in Oracle Solaris 11.2 .
For example, you would use the following /etc/ppp/pppoe.if file for the access server dslserve that is shown in Example of a Configuration for a PPPoE Tunnel.
# cat /etc/ppp/pppoe.if hme1 hme2
The following /etc/ppp/pppoe file lists the services that are provided by access server dslserve, which was shown in Figure 2–5.
device hme1,hme2 service internet pppd "proxyarp 192.168.1.1:" service debugging pppd "debug proxyarp 192.168.1.1:"
In the file example, Internet service is announced for dslserve's Ethernet interfaces hme1 and hme2. Debugging is turned on for PPP links on the Ethernet interfaces.
For more information, refer to Creating an IP Addressing Scheme for Callers.
# /etc/init.d/pppd start
pppd also plumbs the interfaces that are listed in /etc/ppp/pppoe.if.
# /usr/sbin/sppptun query hme1:pppoe hme1:pppoed hme2:pppoe hme2:pppoed
The previous sample shows that interfaces hme1 and hme2 are currently plumbed for PPPoE. You can also use the /usr/sbin/sppptun command to manually plumb interfaces for PPPoE. For instructions, refer to /usr/sbin/sppptun Command.