PPPoE
PPPoE (Point-to-Point Protocol over Ethernet) is a network protocol that encapsulates PPP frames within Ethernet frames. It enables the creation of point-to-point connections over Ethernet networks.
PPPoE provides authentication through the underlying PPP protocol, while using Ethernet as the transport mechanism. This allows service providers to offer individual user authentication and billing for broadband connections.
The protocol consists of two main phases:
Discovery Phase: The client discovers available PPPoE servers and establishes a session
Session Phase: PPP frames are exchanged over the established session
PPPoE is particularly useful for:
Cable modem connections with user-specific access control
Service provider environments requiring per-user billing and access control
Configuration
PPPoE has specific configuration options available under interfaces pppoe <txt>.
An explanation of each configurable parameter is provided below:
access-concentrator: Restrict the PPPoE session to a given Access Concentrator name.base-interface: Select the base interface used by PPPoE.ethernet: Reference an Ethernet interface as PPPoE base.vif: Optional VLAN ID on the Ethernet base interface.
bridge: Reference a Bridge interface as PPPoE base.vif: Optional VLAN ID on the Bridge base interface.
authentication: Configure PPPoE authentication.protocol: Choose the authentication protocol.pap: Password Authentication Protocol. Sends credentials during link establishment. Simple but less secure because the password can be exposed if the link is intercepted.chap: Challenge-Handshake Authentication Protocol. Uses a challenge-response exchange and does not send the password directly. More secure than PAP and supports periodic re-authentication.
user: Configure user credentials.password: Plain password for PPPoE authentication.encrypted-password: Encrypted password for PPPoE authentication.
local-address: Local IPv4 address for the PPPoE interface. If not configured, the client will accept an IPv4 address assigned by the PPPoE server via IPCP.local-identifier: Local IPv6 interface identifier for the PPPoE interface (must start with::, e.g.,::1). If not configured, the client will accept an IPv6 identifier assigned by the PPPoE server via IPV6CP.logging: Enable debug information for the PPPoE interface.detailed: Enable detailed debug information.
Monitoring
To monitor PPPoE interfaces and sessions, use:
Examples
Here you can find examples related to PPPoE.
Command Summary
Configuration commands
interfaces pppoe <txt> authentication user <txt> encrypted-password <password>interfaces pppoe <txt> authentication user <txt> password <txt>interfaces pppoe <txt> base-interface bridge <txt> vif <u32>interfaces pppoe <txt> base-interface ethernet <txt> vif <u32>interfaces pppoe <txt> ip igmp last-member-query-count <u32>interfaces pppoe <txt> ip igmp last-member-query-interval <u32>interfaces pppoe <txt> ip igmp query-max-response-time <u32>interfaces pppoe <txt> ip ospf authentication encrypted-password <password>interfaces pppoe <txt> ip ospf authentication message-digest <id>interfaces pppoe <txt> ip ospf authentication message-digest <id> encrypted-password <password>interfaces pppoe <txt> ip ospf authentication message-digest <id> password <txt>interfaces pppoe <txt> ip ospf authentication password <txt>interfaces pppoe <txt> ip rip authentication encrypted-password <password>interfaces pppoe <txt> ip rip authentication message-digest <u32>interfaces pppoe <txt> ip rip authentication message-digest <u32> encrypted-password <password>interfaces pppoe <txt> ip rip authentication message-digest <u32> password <txt>interfaces pppoe <txt> ipv6 ospfv3 authentication hmac-sha-256 <u32>interfaces pppoe <txt> ipv6 ospfv3 authentication hmac-sha-256 <u32> encrypted-password <password>interfaces pppoe <txt> ipv6 ospfv3 authentication hmac-sha-256 <u32> password <txt>interfaces pppoe <txt> ipv6 ospfv3 authentication md5 <u32> encrypted-password <password>interfaces pppoe <txt> ipv6 ospfv3 authentication md5 <u32> password <txt>interfaces pppoe <txt> ipv6 ospfv3 retransmit-interval <u32>interfaces pppoe <txt> ipv6 ripng split-horizon poison-reverseinterfaces pppoe <txt> ipv6 router-advert cur-hop-limit <u32>interfaces pppoe <txt> ipv6 router-advert default-lifetime <u32>interfaces pppoe <txt> ipv6 router-advert default-preference <txt>interfaces pppoe <txt> ipv6 router-advert managed-flag <txt>interfaces pppoe <txt> ipv6 router-advert name-server <ipv6>interfaces pppoe <txt> ipv6 router-advert other-config-flag <txt>interfaces pppoe <txt> ipv6 router-advert prefix <ipv6net> autonomous-flag <txt>interfaces pppoe <txt> ipv6 router-advert prefix <ipv6net> on-link-flag <txt>interfaces pppoe <txt> ipv6 router-advert prefix <ipv6net> preferred-lifetime <u32|id>interfaces pppoe <txt> ipv6 router-advert prefix <ipv6net> valid-lifetime <u32|id>interfaces pppoe <txt> ipv6 router-advert reachable-time <u32>interfaces pppoe <txt> ipv6 router-advert retrans-timer <u32>interfaces pppoe <txt> traffic nat destination rule <u32> address <ipv4|ipv4net|ipv4range|id>interfaces pppoe <txt> traffic nat destination rule <u32> description <txt>interfaces pppoe <txt> traffic nat destination rule <u32> loginterfaces pppoe <txt> traffic nat destination rule <u32> log level <txt>interfaces pppoe <txt> traffic nat destination rule <u32> log prefix <txt>interfaces pppoe <txt> traffic nat destination rule <u32> network <ipv4net>interfaces pppoe <txt> traffic nat destination rule <u32> port <u32|id>interfaces pppoe <txt> traffic nat destination rule <u32> protocol <txt>interfaces pppoe <txt> traffic nat destination rule <u32> selector <txt>interfaces pppoe <txt> traffic nat source rule <u32> address <ipv4|ipv4net|ipv4range|id>interfaces pppoe <txt> traffic nat source rule <u32> description <txt>interfaces pppoe <txt> traffic nat source rule <u32> log level <txt>interfaces pppoe <txt> traffic nat source rule <u32> log prefix <txt>interfaces pppoe <txt> traffic nat source rule <u32> network <ipv4net>interfaces pppoe <txt> traffic nat source rule <u32> port <u32|id>interfaces pppoe <txt> traffic nat source rule <u32> protocol <txt>interfaces pppoe <txt> traffic nat source rule <u32> selector <txt>interfaces pppoe <txt> traffic policy in <txt> priority <txt>interfaces pppoe <txt> traffic policy local-in <txt> priority <txt>interfaces pppoe <txt> traffic policy local-out <txt> priority <txt>interfaces pppoe <txt> traffic policy out <txt> priority <txt>