How to configure PPPoE server to enable IPv6 ?
Recently, I tried to enable IPv6 in my PPPoE server. I met some problems with it. My OS is Ubuntu 13.04. I check the version of pppd is 2.4.5. So download the corresponding version package of ppp-2.4.5. It contains a source file ipv6cp.c which have all the ipv6 options. You also can check it for more information!
1. Enable IPv6
You can add two lines to the configuration file /etc/ppp/options. Note: you must have pppoe-server-options too, even though a empty file, or else pppoe server doesn't work.
+ipv6
ipv6 ,
Note there is a ' ' after ','!
2 IPv6 Only
If you just want to use IPv6, then you can uncomment the option 'noip' in /etc/ppp/options file.
PS: al the same time, you may need setup a radvd or dhcps6 server to distribute IPv6 addresses to your clients!