한 우분투 상자에서 다른 우분투 상자로 핑을 보내고 있습니다. 협력하지 않는 Ubuntu 상자의 주소는 다음과 같습니다.
2000::1:215:5dff:fe091:229/64
&fe80::215:5dff:fe01:299/64
업스트림 라우터는 해당 주소 중 첫 번째 주소에 대한 이웃 요청을 보냅니다. A는 tcpdump
우분투가 자신의 주소에 대한 요청을 받고 있음을 확인했지만 응답하지 않습니다. 내가 무엇을 놓치고 있나요?
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했습니다. 마지막 옥텟은 299가 아닌 229입니다.