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.
Become superuser on the access server or assume an equivalent role.
Roles contain authorizations and privileged commands. For more information about roles, see Configuring RBAC (Task Map) in System Administration Guide: Security Services.
Add the name of the Ethernet interfaces that are dedicated to the PPPoE tunnels to the /etc/ppp/pppoe.if file.
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 16–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.
Set up the PPP configuration files in the same way that you would for a dial-in server.
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.
(Optional) Verify that the interfaces on the server are plumbed for PPPoE.
# /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.