Configure the PPPoE Family for an Underlying Interface
Describes the PPPoE encapsulation and its limitations. This topic also describes the introduction of "family PPPoE" that can support other protocol families like IPv4 and IPv6 to coexist on the underlying interface.
Use PPPoE encapsulation on the physical interface to dedicate the interface to PPPoE. PPPoE does not support other protocol families on that interface. Configuring IPv4 with PPPoE and IPv6 on the same interface can create protocol conflicts and operational complexities. To address these issues, configure a new PPPoE family such as IPv4 or IPv6. This approach simplifies operations and resolves conflicts.
You can have the PPPoE family configuration on ge
, xe
, and
reth
interfaces only. Also, you cannot configure an interface with both
“encapsulation ppp-over-ether” and “family pppoe”.
Benefits
The PPPoE configuration supports IPv4 traffic over PPPoE and IPv6 traffic over Ethernet without PPPoE on the same interface. This configuration eliminates separate interfaces, simplifying network architecture and management.
Configuration
To configure the PPPoE family over an underlying interface, use the following command:
[edit interfaces ge-0/0/1 unit logical-unit-number] user@host# set family pppoe
Sample Configuration
When you already have ppp-over-ethernet encapsulation configuration, you can't just replace with family pppoe.
For example, the following configuration shows a PPPoE with encapsulation:
set interfaces ge-0/0/11 unit 0 encapsulation ppp-over-ether set interfaces pp0 unit 0 ppp-options pap local-name SRX2 set interfaces pp0 unit 0 ppp-options pap local-password "$9$WhBLX-bwgJZjVb.PQz6/" set interfaces pp0 unit 0 ppp-options pap passive set interfaces pp0 unit 0 pppoe-options underlying-interface ge-0/0/11.0 set interfaces pp0 unit 0 pppoe-options idle-timeout 0 set interfaces pp0 unit 0 pppoe-options auto-reconnect 10 set interfaces pp0 unit 0 pppoe-options client set interfaces pp0 unit 0 family inet mtu 1492 set interfaces pp0 unit 0 family inet negotiate-address
To add PPPoE family configuration, you need to:
delete interface ge-0/0/11
delete interface pp0
commit
Add the PPPoE family configuration once the commit is complete. Note that you need to add pp0 configuration as well.
set interfaces ge-0/0/11 unit 0 family pppoe set interfaces pp0 unit 0 ppp-options pap local-name SRX2 set interfaces pp0 unit 0 ppp-options pap local-password "$9$WhBLX-bwgJZjVb.PQz6/" set interfaces pp0 unit 0 ppp-options pap passive set interfaces pp0 unit 0 pppoe-options underlying-interface ge-0/0/11.0 set interfaces pp0 unit 0 pppoe-options idle-timeout 0 set interfaces pp0 unit 0 pppoe-options auto-reconnect 10 set interfaces pp0 unit 0 pppoe-options client set interfaces pp0 unit 0 family inet mtu 1492 set interfaces pp0 unit 0 family inet negotiate-address