configurationppp以支持IPv6

我需要在RHEL 6.1的Linux机器上为IPv6设置一个PPPoE服务器。 当我尝试启动pppd时,输出结果如下:

~$ sudo pppd start pppd:in file /etc/ppp/options:unrecognized option 'ipv6' 

这里是/ etc / ppp / options文件的内容:

 local ipv6 ipv6cp-use-ipaddr 

根据pppd手册页 ,应该识别“ipv6”选项。 这使我感到困惑。 我不知道现在如何configurationPPPoE服务器来支持IPv6 PPP连接。

在实践中没有尝试过这个,但是我在这一节中读了不同的手册:

 +ipv6 Enable the IPv6CP and IPv6 protocols. ipv6 <local_interface_identifier>,<remote_interface_identifier> Set the local and/or remote 64-bit interface identifier. Either one may be omitted. The identifier must be specified in standard ascii notation of IPv6 addresses (eg ::dead:beef). If the ipv6cp-use-ipaddr option is given, the local identifier is the local IPv4 address (see above). On systems which supports a unique persistent id, such as EUI-48 derived from the Ethernet MAC address, ipv6cp-use-persistent option can be used to replace the ipv6 <local>,<remote> option. Otherwise the identifier is random‐ ized. 

所以我想你至less要在你的选项文件中:

 +ipv6 ipv6 ipv6cp-use-ipaddr 

和一些IPv4configuration(请参阅上面的手册页摘录中对ipv6cp-use-ipaddr的要求)。