Configuring PPPoE and DHCPv6-PD on a cisco 871

If your ISP is providing you native IPv6 using PPPoE and DHCPv6-Prefix Delegation (PD), here is a sample configuration you can use.

Note that your router should have the ADVANCEDIPSERVICES IOS version in order to perform these actions.

 

!
vpdn enable
!
vpdn-group pppoe
!
!
!
interface FastEthernet0
!
interface FastEthernet1
!
interface FastEthernet2
!
interface FastEthernet3
!
interface FastEthernet4
description $ETH-WAN$
no ip address
duplex auto
speed auto
ipv6 nd ra suppress
pppoe enable group global
pppoe-client dial-pool-number 1 service-name “myservicename”
no cdp enable
!
interface Vlan1
ip address 172.17.77.101 255.255.255.0
ip nat inside
ip virtual-reassembly
ip tcp adjust-mss 1412
ipv6 address DH-PREFIX 0:0:0:1::/64 eui-64
!
interface Dialer0
ip ddns update hostname host.dyndns.org
ip ddns update ccp_ddns1
ip address negotiated
ip mtu 1452
ip nat outside
ip virtual-reassembly
encapsulation ppp
dialer pool 1
ipv6 address dhcp
ipv6 address FE80::AAAA link-local
ipv6 enable
ipv6 dhcp client pd DH-PREFIX
no cdp enable
ppp authentication chap pap callin
ppp chap hostname USERNAME
ppp chap password 0 PASSWORD
ppp pap sent-username USERNAME password 0 PASSWORD
!
ip forward-protocol nd
ip route 0.0.0.0 0.0.0.0 Dialer0
ip http server
ip http secure-server
!
!
ip nat inside source list 1 interface Dialer0 overload
!
access-list 1 remark CCP_ACL Category=2
access-list 1 permit 172.17.77.0 0.0.0.255
dialer-list 1 protocol ip permit
dialer-list 1 protocol ipv6 permit
dialer-list 2 protocol ip permit
dialer-list 2 protocol ipv6 permit
ipv6 route ::/0 Dialer0
!
!