Ubuntu Server 16.10 不响应邻居请求(IPv6)

Ubuntu Server 16.10 不响应邻居请求(IPv6)

我正在从一个 Ubuntu 机器 ping 另一个 Ubuntu 机器。不配合的 Ubuntu 机器有以下地址:

2000::1:215:5dff:fe091:229/64&fe80::215:5dff:fe01:299/64

上游路由器正在向第一个地址发送邻居请求。Atcpdump确认 ubuntu 正在接收其自身地址的请求,但它没有响应。我遗漏了什么?

ipconfig/tcpdump输出:

husband@ipv6-client:~$ sudo ifconfig
eth0      Link encap:Ethernet  HWaddr 00:15:5d:01:02:29
          inet6 addr: 2000::1:215:5dff:fe01:229/64 Scope:Global
          inet6 addr: fe80::215:5dff:fe01:229/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:7475 errors:0 dropped:628 overruns:0 frame:0
          TX packets:4148 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:1247888 (1.2 MB)  TX bytes:1112316 (1.1 MB)

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:355015 errors:0 dropped:0 overruns:0 frame:0
          TX packets:355015 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1
          RX bytes:26412928 (26.4 MB)  TX bytes:26412928 (26.4 MB)

husband@ipv6-client:~$ sudo tcpdump -i eth0
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on eth0, link-type EN10MB (Ethernet), capture size 262144 bytes
18:07:08.230956 IP6 fe80::c609:39ff:fee5:10 > ff02::1:ff01:299: ICMP6, neighbor solicitation, who has 2000::1:215:5dff:fe01:299, length 32
18:07:09.226625 IP6 fe80::c609:39ff:fee5:10 > ff02::1:ff01:299: ICMP6, neighbor solicitation, who has 2000::1:215:5dff:fe01:299, length 32
^C
2 packets captured
2 packets received by filter
0 packets dropped by kernel

ip6tables/ip -6 route输出:

husband@ipv6-client:~$ sudo ip6tables --list
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
husband@ipv6-client:~$ ip -6 route
2000:0:0:1::/64 dev eth0  proto kernel  metric 256  expires 2591898sec pref medium
fe80::/64 dev eth0  proto kernel  metric 256  pref medium
default via fe80::c609:39ff:fee5:10 dev eth0  proto ra  metric 1024  expires 1698sec hoplimit 64 pref medium

答案1

好了,各位。系好安全带,因为你们即将踏上人生中 IPv6 之旅。你们准备好了吗?好了,我们开始吧。

我 ping 的地址有一位数是错误的。最后一个八位字节是 229,而不是 299。

相关内容