hi all.
I have two target, A and B ,they are conected with wire-ruling directly,and I can ping each other with ipv4.
for A:
root@localhost:/root> ifconfig
eth0 Link encap:Ethernet HWaddr 00:0F:B7:10:34:0E
inet6 addr: 2002:1::2/64 Scope:Global
inet6 addr: fe80::20f:b7ff:fe10:340e/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:3029 errors:0 dropped:0 overruns:0 frame:0
TX packets:324 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:351550 (343.3 KiB) TX bytes:27904 (27.2 KiB)
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:16436 Metric:1
RX packets:332 errors:0 dropped:0 overruns:0 frame:0
TX packets:332 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:49304 (48.1 KiB) TX bytes:49304 (48.1 KiB)
root@localhost:/root> route -A inet6
Kernel IPv6 routing table
Destination Next Hop Flags Metric Ref Use Iface
::1/128 :: U 0 0 1 lo
2002:1::/128 :: U 0 0 1 lo
2002:1::2/128 :: U 0 1047 1 lo
2002:1::/64 :: U 1 0 0 eth0
2002:1::/64 :: U 256 0 0 eth0
fe80::/128 :: U 0 0 1 lo
fe80::20f:b7ff:fe10:340e/128 :: U 0 0 1 lo
fe80::/64 :: U 256 0 0 eth0
ff00::/8 :: U 256 0 0 eth0
root@localhost:/root>
root@localhost:/root> tcpdump -n ip6 (when B ping A)
tcpdump: WARNING: eth0: no IPv4 address assigned
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on eth0, link-type EN10MB (Ethernet), capture size 96 bytes
00:27:10.156954 IP6 2002:1::1 > ff02::1:ff00:2: ICMP6, neighbor solicitation, who has 2002:1::2, length 32
00:27:12.156127 IP6 2002:1::1 > ff02::1:ff00:2: ICMP6, neighbor solicitation, who has 2002:1::2, length 32
00:27:13.159758 IP6 2002:1::1 > ff02::1:ff00:2: ICMP6, neighbor solicitation, who has 2002:1::2, length 32
00:27:14.155389 IP6 2002:1::1 > ff02::1:ff00:2: ICMP6, neighbor solicitation, who has 2002:1::2, length 32
00:27:15.171001 IP6 2002:1::1 > ff02::1:ff00:2: ICMP6, neighbor solicitation, who has 2002:1::2, length 32
00:27:16.174633 IP6 2002:1::1 > ff02::1:ff00:2: ICMP6, neighbor solicitation, who has 2002:1::2, length 32
00:27:17.170264 IP6 2002:1::1 > ff02::1:ff00:2: ICMP6, neighbor solicitation, who has 2002:1::2, length 32
00:27:18.189877 IP6 2002:1::1 > ff02::1:ff00:2: ICMP6, neighbor solicitation, who has 2002:1::2, length 32
00:27:19.185515 IP6 2002:1::1 > ff02::1:ff00:2: ICMP6, neighbor solicitation, who has 2002:1::2, length 32
00:27:20.185139 IP6 2002:1::1 > ff02::1:ff00:2: ICMP6, neighbor solicitation, who has 2002:1::2, length 32
00:27:22.185394 IP6 2002:1::1 > ff02::1:ff00:2: ICMP6, neighbor solicitation, who has 2002:1::2, length 32
00:27:23.185025 IP6 2002:1::1 > ff02::1:ff00:2: ICMP6, neighbor solicitation, who has 2002:1::2, length 32
00:27:24.184650 IP6 2002:1::1 > ff02::1:ff00:2: ICMP6, neighbor solicitation, who has 2002:1::2, length 32
00:27:26.183906 IP6 2002:1::1 > ff02::1:ff00:2: ICMP6, neighbor solicitation, who has 2002:1::2, length 32
00:27:27.182659 IP6 2002:1::1 > ff02::1:ff00:2: ICMP6, neighbor solicitation, who has 2002:1::2, length 32
00:27:28.183162 IP6 2002:1::1 > ff02::1:ff00:2: ICMP6, neighbor solicitation, who has 2002:1::2, length 32
00:27:30.182418 IP6 2002:1::1 > ff02::1:ff00:2: ICMP6, neighbor solicitation, who has 2002:1::2, length 32
00:27:31.182049 IP6 2002:1::1 > ff02::1:ff00:2: ICMP6, neighbor solicitation, who has 2002:1::2, length 32
00:27:32.181674 IP6 2002:1::1 > ff02::1:ff00:2: ICMP6, neighbor solicitation, who has 2002:1::2, length 32
00:27:34.180930 IP6 2002:1::1 > ff02::1:ff00:2: ICMP6, neighbor solicitation, who has 2002:1::2, length 32
00:27:35.179869 IP6 2002:1::1 > ff02::1:ff00:2: ICMP6, neighbor solicitation, who has 2002:1::2, length 32
00:27:36.180186 IP6 2002:1::1 > ff02::1:ff00:2: ICMP6, neighbor solicitation, who has 2002:1::2, length 32
00:27:38.191436 IP6 2002:1::1 > ff02::1:ff00:2: ICMP6, neighbor solicitation, who has 2002:1::2, length 32
00:27:39.191067 IP6 2002:1::1 > ff02::1:ff00:2: ICMP6, neighbor solicitation, who has 2002:1::2, length 32
00:27:40.189787 IP6 2002:1::1 > ff02::1:ff00:2: ICMP6, neighbor solicitation, who has 2002:1::2, length 32
for B
root@lyang0:/home/lyang0/Netperf/netperf-2.4.4/src# ifconfig
eth1 Link encap:Ethernet HWaddr 00:1e:4f:d4:95:29
inet6 addr: 2002:1::1/64 Scope:Global
inet6 addr: fe80::21e:4fff:fed4:9529/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:16002432 errors:0 dropped:0 overruns:0 frame:0
TX packets:13766471 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:162155921 (154.6 MB) TX bytes:2541958312 (2.3 GB)
Memory:fe9e0000-fea00000
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:16436 Metric:1
RX packets:255813887 errors:0 dropped:0 overruns:0 frame:0
TX packets:255813887 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1119621463 (1.0 GB) TX bytes:1119621463 (1.0 GB)
root@lyang0:/home/lyang0/Netperf/netperf-2.4.4/src# route -A inet6
Kernel IPv6 routing table
Destination Next Hop Flag Met Ref Use If
::1/128 :: Un 0 1 1907 lo
2001:1::/64 :: U 256 0 0 eth0
2002:1::1/128 :: Un 0 1 278 lo
2002:1::/64 :: U 1 0 0 eth1
2002:1::/64 :: U 256 0 0 eth0
2002:1::/64 :: U 256 0 0 eth1
fe80::21e:4fff:fed4:9529/128 :: Un 0 1 0 lo
fe80::/64 :: U 256 0 0 eth0
fe80::/64 :: U 256 0 0 eth1
ff00::/8 :: U 256 0 0 eth0
ff00::/8 :: U 256 0 0 eth1
::/0 :: !n -1 1 8 lo
root@lyang0:/home/lyang0/Netperf/netperf-2.4.4/src#
root@lyang0:/home/lyang0/Netperf/netperf-2.4.4/src# tcpdump -i eth1 (When A ping B)
tcpdump: WARNING: eth1: no IPv4 address assigned
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on eth1, link-type EN10MB (Ethernet), capture size 96 bytes
do_ypcall: clnt_call: RPC: Unable to send; errno = Network is unreachable
do_ypcall: clnt_call: RPC: Unable to send; errno = Network is unreachable
do_ypcall: clnt_call: RPC: Unable to send; errno = Network is unreachable
11:33:00.618243 IP6 2002:1::2 > ff02::1:ff00:1: ICMP6, neighbor solicitation, who has 2002:1::1, length 32
11:33:00.619204 IP6 2002:1::1 > 2002:1::2: ICMP6, neighbor advertisement, tgt is 2002:1::1, length 32
11:33:01.618575 IP6 2002:1::2 > ff02::1:ff00:1: ICMP6, neighbor solicitation, who has 2002:1::1, length 32
11:33:01.618598 IP6 2002:1::1 > 2002:1::2: ICMP6, neighbor advertisement, tgt is 2002:1::1, length 32
do_ypcall: clnt_call: RPC: Unable to send; errno = Network is unreachable
11:33:02.610425 IP6 fe80::21e:4fff:fed4:9529 > 2002:1::2: ICMP6, neighbor solicitation, who has 2002:1::2, length 32
11:33:02.618970 IP6 2002:1::2 > ff02::1:ff00:1: ICMP6, neighbor solicitation, who has 2002:1::1, length 32
11:33:02.618984 IP6 2002:1::1 > 2002:1::2: ICMP6, neighbor advertisement, tgt is 2002:1::1, length 32
11:33:03.610426 IP6 fe80::21e:4fff:fed4:9529 > 2002:1::2: ICMP6, neighbor solicitation, who has 2002:1::2, length 32
11:33:04.610425 IP6 fe80::21e:4fff:fed4:9529 > 2002:1::2: ICMP6, neighbor solicitation, who has 2002:1::2, length 32
11:33:04.623719 IP6 2002:1::2 > ff02::1:ff00:1: ICMP6, neighbor solicitation, who has 2002:1::1, length 32
11:33:04.623733 IP6 2002:1::1 > 2002:1::2: ICMP6, neighbor advertisement, tgt is 2002:1::1, length 32
11:33:05.624065 IP6 2002:1::2 > ff02::1:ff00:1: ICMP6, neighbor solicitation, who has 2002:1::1, length 32
11:33:05.624093 IP6 2002:1::1 > 2002:1::2: ICMP6, neighbor advertisement, tgt is 2002:1::1, length 32
11:33:06.624443 IP6 2002:1::2 > ff02::1:ff00:1: ICMP6, neighbor solicitation, who has 2002:1::1, length 32
11:33:06.624465 IP6 2002:1::1 > 2002:1::2: ICMP6, neighbor advertisement, tgt is 2002:1::1, length 32
11:33:08.629188 IP6 2002:1::2 > ff02::1:ff00:1: ICMP6, neighbor solicitation, who has 2002:1::1, length 32
11:33:08.629209 IP6 2002:1::1 > 2002:1::2: ICMP6, neighbor advertisement, tgt is 2002:1::1, length 32
11:33:09.629557 IP6 2002:1::2 > ff02::1:ff00:1: ICMP6, neighbor solicitation, who has 2002:1::1, length 32
11:33:09.629577 IP6 2002:1::1 > 2002:1::2: ICMP6, neighbor advertisement, tgt is 2002:1::1, length 32
11:33:10.623424 IP6 fe80::21e:4fff:fed4:9529 > 2002:1::2: ICMP6, neighbor solicitation, who has 2002:1::2, length 32
11:33:10.629951 IP6 2002:1::2 > ff02::1:ff00:1: ICMP6, neighbor solicitation, who has 2002:1::1, length 32
11:33:10.629964 IP6 2002:1::1 > 2002:1::2: ICMP6, neighbor advertisement, tgt is 2002:1::1, length 32
11:33:11.623425 IP6 fe80::21e:4fff:fed4:9529 > 2002:1::2: ICMP6, neighbor solicitation, who has 2002:1::2, length 32
11:33:12.623425 IP6 fe80::21e:4fff:fed4:9529 > 2002:1::2: ICMP6, neighbor solicitation, who has 2002:1::2, length 32
11:33:12.634698 IP6 2002:1::2 > ff02::1:ff00:1: ICMP6, neighbor solicitation, who has 2002:1::1, length 32
11:33:12.634713 IP6 2002:1::1 > 2002:1::2: ICMP6, neighbor advertisement, tgt is 2002:1::1, length 32
11:33:13.635047 IP6 2002:1::2 > ff02::1:ff00:1: ICMP6, neighbor solicitation, who has 2002:1::1, length 32
11:33:13.635070 IP6 2002:1::1 > 2002:1::2: ICMP6, neighbor advertisement, tgt is 2002:1::1, length 32
11:33:14.635424 IP6 2002:1::2 > ff02::1:ff00:1: ICMP6, neighbor solicitation, who has 2002:1::1, length 32
11:33:14.635445 IP6 2002:1::1 > 2002:1::2: ICMP6, neighbor advertisement, tgt is 2002:1::1, length 32
11:33:16.640182 IP6 2002:1::2 > ff02::1:ff00:1: ICMP6, neighbor solicitation, who has 2002:1::1, length 32
11:33:16.640205 IP6 2002:1::1 > 2002:1::2: ICMP6, neighbor advertisement, tgt is 2002:1::1, length 32
11:33:17.640537 IP6 2002:1::2 > ff02::1:ff00:1: ICMP6, neighbor solicitation, who has 2002:1::1, length 32
11:33:17.640559 IP6 2002:1::1 > 2002:1::2: ICMP6, neighbor advertisement, tgt is 2002:1::1, length 32
It can't ping each other please help me
Thanks for your time