![IPv6 无状态自动配置在 CentOS 6.2 上不起作用](https://linux22.com/image/581839/IPv6%20%E6%97%A0%E7%8A%B6%E6%80%81%E8%87%AA%E5%8A%A8%E9%85%8D%E7%BD%AE%E5%9C%A8%20CentOS%206.2%20%E4%B8%8A%E4%B8%8D%E8%B5%B7%E4%BD%9C%E7%94%A8.png)
我在设置运行在 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.**