Configuring IPv4 and IPV6 over static PPPoE with VLANs
To configure IPv4 and IPv6 interface columns over static PPPoE with VLANs:
- Specify a Fast Ethernet, Gigabit Ethernet, or 10-Gigabit
Ethernet interface.host1(config)#interface gigabitEthernet 2/0/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 gigabitEthernet 2/0/1.1
- Assign a VLAN ID for the subinterface.host1(config-if)#vlan id 1
- Create a PPPoE subinterface.host1(config-if)#pppoe
- Specify PPPoE as the encapsulation method on the interface.host1(config-if)#pppoe subinterface gigabitEthernet 2/0/1.1.1host1(config-if)#encapsulation ppp
- Specify the order of preference for the primary authentication
protocol.host1(config-if)#ppp authentication pap chap eap
- Enable IPv6 processing on an interface without assigning
an explicit IPv6 address to that interface.host1(config-if)#ipv6 unnumbered loopback 0
- Enable the IPv6 Neighbor Discovery process on an interface.host1(config-if)#ipv6 nd
- Specify which IPv6 prefixes the system includes in IPv6
router advertisements.host1(config-if)#ipv6 nd prefix-advertisement 2002:1::/64 60000 45000 onlink autoconfig
- (Optional) Configure additional VLAN subinterfaces by completing Steps 3 through 10.