[Contents] [Prev] [Next] [Index] [Report an Error]


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:

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:

  1. Specify an FE or a GE port.
host1(config)#interface fastethernet 4/1
  1. Specify PPPoE as the encapsulation method on the interface.
host1(config-if)#pppoe
  1. Create a PPPoE subinterface.
host1(config-if)#pppoe subinterface fastethernet 4/1.1
  1. Specify PPP as the encapsulation method on the interface.
host1(config-subif)#encapsulation ppp
  1. (Optional) Configure an access concentrator (AC) name on the PPPoE interface.
host1(config-subif)#pppoe acname CYM9876
  1. (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-protection
  1. Assign an IP address and mask.
host1(config-if)#ip address 192.6.129.5 255.255.255.0
  1. (Optional) Configure additional PPPoE subinterfaces by completing steps 3 through 5 using unique numbering.


Figure 7-3 Example of PPPoE stacking configuration steps

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:

  1. Specify an FE or a GE port.
host1(config)#interface fastethernet 2/0
  1. Create a Fast Ethernet subinterface.
host1(config-if)#interface fastethernet 2/0.1
  1. Assign an IP address and subnet mask to the interface.
host1(config-if)#ip address 192.1.1.1 255.255.255.0
  1. Create a new Fast Ethernet subinterface.
host(config-if)#interface fastethernet 2/0.2
  1. Specify PPPoE as the encapsulation method on the interface.
host1(config-if)#encapsulation pppoe
  1. Create a PPPoE subinterface.
host1(config-if)#interface fastethernet 2/0.2.1
  1. Specify PPP as the encapsulation method on the interface.
host1(config-if)#encapsulation ppp
  1. Assign an IP address and mask.
host1(config-if)#ip address 192.6.129.5 255.255.255.0
  1. (Optional) Configure additional PPPoE subinterfaces by completing steps 5 through 7 using unique numbering.


Figure 7-4 Example of alternative method stacking configuration steps


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 ppp

    encapsulation pppoe

host1-0-1-90(config-if)#encapsulation pppoe

    interface fastEthernet

host1(config)#interface fastEthernet 1/0


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


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.0

    pppoe acName

host1(config-subif)#pppoe acname CYM9876

    pppoe duplicate-protection

host1(config-subif)#pppoe duplicate-protection 

[Contents] [Prev] [Next] [Index] [Report an Error]