我需要使用RHEL6.1在Linux机器上为PPPoE服务器设置一个IPv6服务器。当我尝试启动pppd时,输出如下:
~$ sudo pppd start
pppd:in file /etc/ppp/options:unrecognized option 'ipv6'以下是/etc/ppp/options文件的内容:
local
ipv6 ipv6cp-use-ipaddr根据pppd手册页,选项'ipv6‘应该被识别。这让我很困惑。我不知道现在如何配置PPPoE服务器以支持IPv6 PPP连接。
发布于 2012-12-12 12:41:48
在实践中还没有尝试过这一点,但我在本节中读到的手册不一样:
+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 (e.g.
::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.所以我想你至少要在你的选项文件中这样做:
+ipv6
ipv6
ipv6cp-use-ipaddr以及一些IPv4配置(请参阅上面的手册摘录中对ipv6cp-use-ipaddr的要求)。
https://serverfault.com/questions/457383
复制相似问题