无法对 IPv6 上的特定系统进行 ping 操作

无法对 IPv6 上的特定系统进行 ping 操作

我已在网络上启用 IPv6,使用 DHCPv6 和子网 fd00::/64。我的 DHCP 服务器的 IP 是 fd00::1:1:1,我无法从网络上的某些系统 ping 它。

我的radvd.conf:

interface br0
{
    AdvSendAdvert on;
    AdvManagedFlag on;
    AdvOtherConfigFlag on;

    MinRtrAdvInterval 3;
    MaxRtrAdvInterval 60;

    prefix fd00::/64
    {
        AdvAutonomous off;
        AdvOnLink on;
    };
};

DHCP 服务器上的 IPv6 地址:

# ip -6 addr list dev br0
4: br0:  mtu 1500 state UP qlen 1000
    inet6 fd00::1:1:1/64 scope global
       valid_lft forever preferred_lft forever
    inet6 fe80::223:5aff:fe5c:3035/64 scope link
       valid_lft forever preferred_lft forever

在客户端:

   IPv6 Address. . . . . . . . . . . : fd00::5(Preferred)
   Lease Obtained. . . . . . . . . . : 27 July 2016 19:37:38
   Lease Expires . . . . . . . . . . : 02 August 2016 22:13:23
   IPv6 Address. . . . . . . . . . . : fdf4:9ff3:68e4:3600:8c44:7b7d:8cd5:22b5(Preferred)
   Temporary IPv6 Address. . . . . . : fdf4:9ff3:68e4:3600:e10d:6a8d:d16f:ebf0(Preferred)
   Link-local IPv6 Address . . . . . : fe80::8c44:7b7d:8cd5:22b5%9(Preferred)
   IPv4 Address. . . . . . . . . . . : 10.0.0.5(Preferred)

服务器运行的是 Ubuntu 16.04.1,客户端是 Windows 10。

我能够从服务器 ping 通客户端:

$ ping6 -w5 -c1 fd00::5
PING fd00::5(fd00::5) 56 data bytes
64 bytes from fd00::5: icmp_seq=1 ttl=64 time=0.245 ms

--- fd00::5 ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 0.245/0.245/0.245/0.000 ms

但不是客户端到服务器:

>ping -n 1 fd00::1:1:1

Pinging fd00::1:1:1 with 32 bytes of data:
Request timed out.

Ping statistics for fd00::1:1:1:
    Packets: Sent = 1, Received = 0, Lost = 1 (100% loss),

但是我可以 ping 链接本地地址。

客户端可以 ping 我网络上的其他 IPv6 系统:

>ping -n 1 fd00::1

Pinging fd00::1 with 32 bytes of data: Reply from fd00::1: time<1ms

Ping statistics for fd00::1: Packets: Sent = 1, Received = 1, Lost = 0 (0% loss), Approximate round trip times in milli-seconds: Minimum = 0ms, Maximum = 0ms, Average = 0ms

它没有被服务器上的 iptables 阻止(raw、mangle 和 nat 表也为空,且策略设置为 ACCEPT):

# ip6tables -n -L
Chain INPUT (policy ACCEPT)
target     prot opt source               destination

Chain FORWARD (policy ACCEPT)
target     prot opt source               destination

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination

我花了几天时间试图弄清楚这一点,但没有任何进展。有人有什么想法吗?

Windows 中的路由表:

>route print -6
===========================================================================
Interface List
  9...54 04 a6 25 ea 42 ......Intel(R) 82579V Gigabit Network Connection
  4...54 04 a6 25 f2 de ......Realtek PCIe GBE Family Controller
  7...00 50 56 c0 00 01 ......VMware Virtual Ethernet Adapter for VMnet1
 10...00 50 56 c0 00 08 ......VMware Virtual Ethernet Adapter for VMnet8
  2...00 ff 27 7c db d5 ......TAP-Windows Adapter V9
  8...5c f3 70 69 f8 ad ......Bluetooth Device (Personal Area Network)
  1...........................Software Loopback Interface 1
  3...00 00 00 00 00 00 00 e0 Microsoft Teredo Tunneling Adapter
===========================================================================

IPv6 Route Table
===========================================================================
Active Routes:
 If Metric Network Destination      Gateway
  9    266 ::/0                     fe80::223:5aff:fe5c:3035
  1    306 ::1/128                  On-link
  9    266 fd00::/64                On-link
  9    266 fd00::5/128              On-link
  9     26 fdf4:9ff3:68e4:3600::/64 On-link
  9    266 fdf4:9ff3:68e4:3600:8c44:7b7d:8cd5:22b5/128
                                    On-link
  9    266 fdf4:9ff3:68e4:3600:a44b:f98d:2032:cb57/128
                                    On-link
  7    276 fe80::/64                On-link
 10    276 fe80::/64                On-link
  9    266 fe80::/64                On-link
  3    306 fe80::/64                On-link
  3    306 fe80::8d:10d8:a79e:ff1d/128
                                    On-link
  7    276 fe80::68f0:76f0:9474:d11d/128
                                    On-link
  9    266 fe80::8c44:7b7d:8cd5:22b5/128
                                    On-link
 10    276 fe80::9875:1c54:698b:b9d2/128
                                    On-link
  1    306 ff00::/8                 On-link
  7    276 ff00::/8                 On-link
 10    276 ff00::/8                 On-link
  9    266 ff00::/8                 On-link
  3    306 ff00::/8                 On-link
===========================================================================
Persistent Routes:
  None

相关内容