Configuring PPPoE

Last Updated : Mar 26, 2020 |
Prolog information
  1. Enter the FastEthernet interface context with the interface fastethernet 10/2 command.
  2. Enter encapsulation pppoe to change the encapsulation to PPPoE.
    ADDITIONAL INFORMATION:
    You must change the encapsulation to PPPoE before configuring an IP address on the interface.
    Note:
    You cannot use PPPoE if:
    • An IP address must not be configured on the interface
    • Dynamic CAC is not enabled on the interface.
    • The interface is not part of a primary-backup interface pair.
  3. Use the ip address command to configure an IP address and subnet mask for the interface.
    ADDITIONAL INFORMATION:
    In most cases, PPPoE tunnels require a 32-bit subnet mask.
    Alternatively, you can enter ip address negotiated to obtain an IP address via PPP/IPCP negotiation.
    Note:
    You cannot configure PPP/IPCP address negotiation if DHCP address negotiation is already configured on the interface.
  4. Configure an authentication method and parameters:
    • For PAP authenticating, enter ppp pap-sent username followed by a user name and password. For example:
      Gxxx-001(super-if:FastEthernet 10/2)# ppp pap-sent username avaya32 password ******
      Done!
    • For CHAP authentication, enter ppp chap hostname followed by a hostname, and ppp chap password followed by a password. For example:
      Gxxx-001(super-if:FastEthernet 10/2)# ppp chap hostname avaya32
      Done!
      Gxxx-001(super-if:FastEthernet 10/2)# ppp chap password ******
      Done!
  5. If the Branch Gateway is connected to the Internet via the FastEthernet interface configured for PPPoE, and you define a VPN tunnel which specifies remote hosts by name, it is recommended to use the ppp ipcp dns request command.
    ADDITIONAL INFORMATION:
    The command requests the list of available DNS servers from the remote peer during the PPP/IPCP session. The DNS servers are used by the DNS resolver to resolve hostnames to IP addresses.
  6. Enter exit to return to general context.
    STEP RESULT:
    The prompt returns to:
    Gxxx-001(super)#
  7. Test the configuration.
    ADDITIONAL INFORMATION:
    See WAN configuration and testing connectivity.
  8. Enter copy running-config startup-config to save the configuration.
  9. Optionally, shut down the port and the PPPoE client, if configured, with the shutdown command in the interface context.