Configuring PPPoE for Ethernet Modules
Dual-port Fast Ethernet (FE-2), eight-port Fast Ethernet (FE-8), and Gigabit Ethernet (GE) interfaces support PPPoE. You can configure Ethernet interfaces with IP only, with PPPoE only, with both IP and PPPoE, and with or without VLANs.
This section provides information only on configuring PPPoE without VLANs. If you want to configure PPPoE with VLANs, see ERX Physical Layer Configuration Guide, Chapter 6, Configuring Ethernet Interfaces, which shows common VLAN configurations, such as:
Limits
PPPoE configurations for FE and GE modules have the following limits:
- One IP-only interface per port or per VLAN
- One PPPoE interface per port or per VLAN
- 4,094 PPPoE subinterfaces per module
- 8,000 IP interfaces on GE, including those over PPPoE
PPPoE subinterfaces can be distributed in any way across ports. For example, there could be 4094 PPPoE subinterfaces on one port of an FE-2 module and no PPPoE subinterfaces on the other port.
Configuring PPPoE Without VLANs
There are two methods to configure multiple protocols, such as IP and PPPoE, over Ethernet without VLANs. The older method, described in Alternative Configuration Method later in this chapter, requires the use of Ethernet subinterfaces. This method is still supported for backward compatibility, but is not recommended for new configurations.
Note: There are two variations of the procedure to create a multiprotocol configuration without VLANs. Follow the current methods if you are running the current system software version. Follow the alternative method if you are using a software version earlier than Release 3.0.0, or if you are running scripts or macros that were created based on a software version earlier than Release 3.0.0.![]()
Current Configuration Method
Always use this method unless you have an earlier version of software. See note above. This method is illustrated in Figure 7-3.
To configure PPPoE over an Ethernet interface:
host1(config)#interface fastethernet 4/1host1(config-if)#pppoehost1(config-if)#pppoe subinterface fastethernet 4/1.1host1(config-subif)#encapsulation ppphost1(config-subif)#pppoe acname CYM9876
- (Optional) Set up the system to prevent a client from establishing more than one session using the same MAC address
host1(config-subif)#pppoe duplicate-protectionhost1(config-if)#ip address 192.6.129.5 255.255.255.0
- (Optional) Configure additional PPPoE subinterfaces by completing steps 3 through 5 using unique numbering.
![]()
Alternative Configuration Method
Use the following configuration method if you are using a software version earlier than Release 3.0.0, or if you are running scripts or macros that were created based on a version of software earlier than Release 3.0.0. MPLS interfaces were not supported in earlier software versions. See Figure 7-4.
The protocol subinterface is distinguished when you add a subinterface number to the interface identification string fastEthernet or gigabitEthernet.
Note: Remove the upper-layer interface stack before removing a protocol subinterface.![]()
To configure IP and PPPoE over an Ethernet interface:
host1(config)#interface fastethernet 2/0host1(config-if)#interface fastethernet 2/0.1host1(config-if)#ip address 192.1.1.1 255.255.255.0host(config-if)#interface fastethernet 2/0.2host1(config-if)#encapsulation pppoehost1(config-if)#interface fastethernet 2/0.2.1host1(config-if)#encapsulation ppphost1(config-if)#ip address 192.6.129.5 255.255.255.0
- (Optional) Configure additional PPPoE subinterfaces by completing steps 5 through 7 using unique numbering.
![]()
Note: ERX Physical Layer Configuration Guide, Chapter 6, Configuring Ethernet Interfaces, provides other non-VLAN configuration examples, such as configurations using MPLS.![]()
encapsulation ppp
host1-0-1-90(config-if)#encapsulation pppencapsulation pppoe
host1-0-1-90(config-if)#encapsulation pppoeinterface fastEthernet
host1(config)#interface fastEthernet 1/0
- Use the no version to remove IP from an interface or subinterface. You must issue the no version from the highest level down; you cannot remove an interface or subinterface if the one above it still exists.
Note: For more details on the use of this command, see the syntax discussion in the Command Reference Guide.![]()
interface gigabitEthernet
Note: You can configure only the primary port, 0, on the Gigabit Ethernet module. The system automatically uses the redundant port if the primary fails.![]()
host1(config)#interface gigabitEthernet 1/0
- Use the no version to remove IP from an interface. You must issue the no version from the highest level down; you cannot remove an interface or subinterface if the one above it still exists.
Note: For more details on the use of this command, see the syntax discussion in the Command Reference Guide.![]()
ip address
host1-0-1-90(config-if)#ip address 192.1.1.1 255.255.255.0pppoe acName
- Use to configure an access concentrator (AC) name on the PPPoE interface. When the AC (the server) receives a PPPoE Active Discovery Initiation (PADI) packet that it can serve, it replies by sending a PPPoE Active Discovery Offer (PADO) packet. The PADO packet will contain the AC name as configured.
- If the AC name is not configured, the system name is used.
- The AC name can be a maximum of 64 characters.
- Example
host1(config-subif)#pppoe acname CYM9876pppoe duplicate-protection
- Use to prevent a client from establishing more than one session using the same MAC address.
- This feature is disabled by default.
- Example
host1(config-subif)#pppoe duplicate-protection