Configuring IPv4 and IPV6 over static PPPoE with VLANs

To configure IPv4 and IPv6 interface columns over static PPPoE with VLANs:

  1. Specify a Fast Ethernet, Gigabit Ethernet, or 10-Gigabit Ethernet interface.
    host1(config)#interface gigabitEthernet 2/0/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 gigabitEthernet 2/0/1.1
  4. Assign a VLAN ID for the subinterface.
    host1(config-if)#vlan id 1
  5. Create a PPPoE subinterface.
  6. Specify PPPoE as the encapsulation method on the interface.
    host1(config-if)#pppoe subinterface gigabitEthernet 2/0/1.1.1host1(config-if)#encapsulation ppp
  7. Specify the order of preference for the primary authentication protocol.
    host1(config-if)#ppp authentication pap chap eap
  8. Enable IPv6 processing on an interface without assigning an explicit IPv6 address to that interface.
    host1(config-if)#ipv6 unnumbered loopback 0
  9. Enable the IPv6 Neighbor Discovery process on an interface.
    host1(config-if)#ipv6 nd
  10. 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
  11. (Optional) Configure additional VLAN subinterfaces by completing Steps 3 through 10.

Related Documentation