To configure PPPoE over VLAN over an Ethernet interface:
- host1(config)#interface fastEthernet 4/1
- host1(config-if)#encapsulation vlan
The VLAN major interface is added.
- host1(config-if)#interface fastEthernet 4/1.1
- host1(config-if)#pppoe
- host1(config-if)#pppoe subinterface
fastEthernet 4/1.1.1
- host1(config-if)#encapsulation ppp
- host1(config-if)#ip address 192.6.129.5 255.255.255.0
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
