IPv6 无状态自动配置在 CentOS 6.2 上不起作用

IPv6 无状态自动配置在 CentOS 6.2 上不起作用

我在设置运行在 VmWare 工作站上的两个虚拟主机的 IPv6 连接时遇到问题。主机是 CentOS 6.2 x86 和 x86-64。即使它们位于桥接网络上,并且同一网段上有一个 RA 路由器,它们也不会接受来自路由器的广告。

我可以ping6通过路由器的本地链路地址cat /proc/sys/net/ipv6/conf/eth0/accept_ra返回1并刷新所有ip6tables规则。

主机都是全新安装的,除了安装一些库和更改壁纸外,我没有改变任何东西;)

我应该做什么/检查/......什么?

答案1

以下是内核文档中有关转发的相关内容。以及路由器请求/广告。

forwarding - BOOLEAN
        Configure interface-specific Host/Router behaviour.

        Note: It is recommended to have the same setting on all
        interfaces; mixed router/host scenarios are rather uncommon.

        FALSE:

        By default, Host behaviour is assumed.  This means:

        1. IsRouter flag is not set in Neighbour Advertisements.
        2. Router Solicitations are being sent when necessary.
        3. If accept_ra is TRUE (default), accept Router
           Advertisements (and do autoconfiguration).
        4. If accept_redirects is TRUE (default), accept Redirects.

        TRUE:

        **If local forwarding is enabled, Router behaviour is assumed.**
        This means exactly the reverse from the above:

        1. IsRouter flag is set in Neighbour Advertisements.
        2. **Router Solicitations are not sent.**
        3. **Router Advertisements are ignored.**

相关内容