Configuring PPPoE over VLAN
To configure PPPoE over VLAN over an Ethernet interface:
- Specify a Fast Ethernet, Gigabit Ethernet, or 10-Gigabit
Ethernet port.host1(config)#interface fastEthernet 4/1
- Specify VLAN as the encapsulation method.host1(config-if)#encapsulation vlan
The VLAN major interface is added.
- Create a VLAN subinterface by adding a subinterface
number to the interface identification command.host1(config-if)#interface fastEthernet 4/1.1
- 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
- Assign a VLAN ID for the subinterface.
- Specify PPPoE as the encapsulation method on the interface.host1(config-if)#pppoe
- 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-if)#encapsulation ppp
- Assign an IP address and mask.host1(config-if)#ip address 192.6.129.5 255.255.255.0
- (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

Hide Navigation Pane
Show Navigation Pane
SHA1