Configuring PPPoE over VLAN

To configure PPPoE over VLAN over an Ethernet interface:

  1. Specify a Fast Ethernet, Gigabit Ethernet, or 10-Gigabit Ethernet port.
    host1(config)#interface fastEthernet 4/1
  2. Specify VLAN as the encapsulation method.
    host1(config-if)#encapsulation vlan

    The VLAN major interface is added.

  3. Create a VLAN subinterface by adding a subinterface number to the interface identification command.
    host1(config-if)#interface fastEthernet 4/1.1
  4. Do one of the following:
    • Assign a VLAN ID for the subinterface.
      host1(config-if)#vlan id 201
    • Assign a VLAN ID and the optional unique MAC address for the subinterface.
      host1(config-if)#vlan id 201 mac-address 0090.1a01.1234
  5. Specify PPPoE as the encapsulation method on the interface.
    host1(config-if)#pppoe
  6. Create a PPPoE subinterface.
    host1(config-if)#pppoe subinterface fastEthernet 4/1.1.1
  7. Specify PPP as the encapsulation method on the interface.
    host1(config-if)#encapsulation ppp
  8. Assign an IP address and mask.
    host1(config-if)#ip address 192.6.129.5 255.255.255.0
  9. (Optional) Configure additional VLAN subinterfaces by completing Steps 3 through 8.

Figure 15 illustrates the PPPoE/VLAN/Fast Ethernet stacking, showing two separate VLAN subinterfaces. One VLAN subinterface has two PPPoE subinterfaces, and one VLAN subinterface has one PPPoE subinterface.

Figure 15: Example of PPPoE/VLAN/Fast Ethernet Stacking Configuration Procedure

Example of PPPoE/VLAN/Fast Ethernet Stacking
Configuration Procedure

Related Documentation