首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >配置ppp以支持IPv6

配置ppp以支持IPv6
EN

Server Fault用户
提问于 2012-12-12 11:04:26
回答 1查看 12.7K关注 0票数 4

我需要使用RHEL6.1在Linux机器上为PPPoE服务器设置一个IPv6服务器。当我尝试启动pppd时,输出如下:

代码语言:javascript
复制
~$ sudo pppd start
pppd:in file /etc/ppp/options:unrecognized option 'ipv6'

以下是/etc/ppp/options文件的内容:

代码语言:javascript
复制
local
ipv6 ipv6cp-use-ipaddr

根据pppd手册页,选项'ipv6‘应该被识别。这让我很困惑。我不知道现在如何配置PPPoE服务器以支持IPv6 PPP连接。

EN

回答 1

Server Fault用户

回答已采纳

发布于 2012-12-12 12:41:48

在实践中还没有尝试过这一点,但我在本节中读到的手册不一样:

代码语言:javascript
复制
+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.

所以我想你至少要在你的选项文件中这样做:

代码语言:javascript
复制
+ipv6
ipv6
ipv6cp-use-ipaddr

以及一些IPv4配置(请参阅上面的手册摘录中对ipv6cp-use-ipaddr的要求)。

票数 3
EN
页面原文内容由Server Fault提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://serverfault.com/questions/457383

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档