Configuring Point-to-Point Protocol over Ethernet
The Point-to-Point Protocol over Ethernet (PPPoE) connects multiple hosts on an Ethernet LAN to a remote site through a single customer premises equipment (CPE) device—a J-series Services Router. Hosts share a common digital subscriber line (DSL), a cable modem, or a wireless connection to the Internet. To use PPPoE, you must configure the Services Router as a PPPoE client, encapsulate PPP packets over Ethernet, and initiate a PPPoE session.
NOTE: J4300 and J6300 Services Routers with asymmetrical DSL (ADSL) Physical Interface Modules (PIMs) and symmetrical high-speed DSL (SHDSL) PIMs can use PPPoE over Asynchronous Transfer Mode (ATM) to connect through DSL lines only, not for direct ATM connections. For information about configuring ADSL and SHDSL interfaces, see Configuring ATM-over-ADSL Interfaces and Configuring ATM-over-SHDSL Interfaces.
To configure physical interface properties, include the
encapsulationstatement at the [edit interfacesinterface-name] hierarchy level:[edit interfacesinterface-name]encapsulation ethernet-over-atm;To configure logical interface encapsulation properties, include the
encapsulationstatement:encapsulation ppp-over-ether;You can include this statement at the following hierarchy levels:
[edit interfacesinterface-nameunitlogical-unit-number]- [
edit logical-routerslogical-router-nameinterfacesinterface-nameunitlogical-unit-number]To configure PPPoE session properties, include the
underlying-interfacestatement at the[edit interfacesinterface-nameunitlogical-unit-numberpppoe-options]hierarchy level:[edit interfacesinterface-name}unitlogical-unit-number;pppoe-options {underlying-interfaceinterface-name;encapsulation ppp-over-ether;{{To configure additional PPPoE session properties, include theaccess-concentratorstatement,auto-reconnectstatement, andservicestatement to specify the access concentrator, type of service provided by the access concentrator, and the reconnection time:unitlogical-unit-numberpppoe-options {access-concentratorname;auto-reconnectseconds;service-namename;}}}To configure the PPPoE interface source and destination address, do one of the following:
addressaddressdestinationaddress;Include the unnumbered-addressanddestinationstatements to derive the source address from a specified interface:unnumbered-addressinterface-namedestinationaddress;Include the negotiate-addressstatement to obtain an IP address by negotiation with the remote end:negotiate-address;You can include these statements at the following hierarchy levels:
[edit interfaces pp0.0family inet]- [
edit logical-routerslogical-router-nameinterfacespp0.0family inet]To configure the maximum transmission unit (MTU) of the protocol, include the
mtustatement at the[edit interfaces pp0]hierarchy level:[edit interfaces pp0]mtubytes;To disable the sending of keepalives on a logical interface, include the
no-keepalivesstatement:no-keepalives;You can include this statement at the following hierarchy levels: