Configuring Linux/BSD for IPv6
How do I configure Linux/BSD with PPPoE and Prefix Delegation?
Enable IPv6 support in PPP. Under Linux this can be done by adding “ipv6 ,”(please note you need the comma) to your /etc/ppp/options file.
Configure DHCPv6 PD to obtain a prefix lease. Not all DHCPv6 client support Prefix Delegation. The WIDE DHCPv6 client is known to work. The user manual for Dibbler suggests that it may work, but this hasn't been tested. Example dhcp6c.conf:
interface ppp0 { send ia-pd 0; script "/etc/wide-dhcpv6/dhcp6c-script"; }; id-assoc pd { prefix-interface eth0 { sla-id 0; sla-len 8; }; };
Configure radvd (Linux) or rtadvd (BSD) to provide IPv6 stateless address autoconfiguration for your network(s). Consult the manpages for these tools for configuration details.
We recommend using at least radvd v1.1 under Linux since it allows a generic interface config to be used with the "::/64" prefix (similar to rtadvd under BSD).
Why does the IPv6 default route and IPv6 address on my PPP interface disappear?
Linux/BSD will ignore all further ICMPv6 RA messages when IPv6 forwarding is enabled. You will need to manually configure a default route to your PPP interface after it is brought up. You can also assign an address from your DHCPv6 PD lease to your PPP interface if you would like a link address (optional).