System Administration Guide: Network Services

ProcedureHow to Set Up a PPPoE Access Server

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.

  1. 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.

  2. 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
  3. Define global services that are provided by the access server in the /etc/ppp/pppoe file.

    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"
    service debugging
        pppd "debug proxyarp"

    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.

  4. 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.

  5. Start the pppoed daemon.

    # /etc/init.d/pppd start

    pppd also plumbs the interfaces that are listed in /etc/ppp/pppoe.if.

  6. (Optional) Verify that the interfaces on the server are plumbed for PPPoE.

    # /usr/sbin/sppptun query

    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.