The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Special Forums > IP Networking
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #1 (permalink)  
Old 05-22-2009
yanglei_fage yanglei_fage is offline
Registered User
  
 

Join Date: Jan 2009
Posts: 25
can't reach host with ipv6

Hi all,

First I know little about ipv6.
I have two target. A and B,A and B connet with each other *directly* with line.and I can ping each other with ipv4

For A:
PHP Code:
[root@localhost leilyang]# ifconfig
eth0      Link encap:Ethernet  HWaddr 00:21:9B:80:51:68
          inet addr
:128.224.159.188  Bcast:128.224.159.255  Mask:255.255.254.0
          inet6 addr
fe80::221:9bff:fe80:5168/64 Scope:Link
          inet6 addr
2002:1::10/64 Scope:Global
          
UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets
:4115311 errors:0 dropped:0 overruns:0 frame:0
          TX packets
:2408411 errors:0 dropped:0 overruns:0 carrier:0
          collisions
:0 txqueuelen:100
          RX bytes
:936528667 (893.1 MiB)  TX bytes:464660931 (443.1 MiB)
          
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
:121667 errors:0 dropped:0 overruns:0 frame:0
          TX packets
:121667 errors:0 dropped:0 overruns:0 carrier:0
          collisions
:0 txqueuelen:0
          RX bytes
:15175375 (14.4 MiB)  TX bytes:15175375 (14.4 Mi 
For B:
PHP Code:
root@localhost:/netperf_imagelsmod
Module                  Size  Used by
binfmt_misc            11872  1 
ipv6                  348912  38 

root
@localhost:/netperf_imageifconfig
eth0      Link encap
:Ethernet  HWaddr 00:0F:B7:10:34:0E  
          inet addr
:100.0.0.10  Bcast:100.255.255.255  Mask:255.0.0.0
          inet6 addr
2002:1::2/64 Scope:Global
          
inet6 addrfe80::20f:b7ff:fe10:340e/64 Scope:Link
          UP BROADCAST MULTICAST  MTU
:1500  Metric:1
          RX packets
:20807444 errors:0 dropped:0 overruns:0 frame:0
          TX packets
:33797349 errors:0 dropped:0 overruns:0 carrier:0
          collisions
:0 txqueuelen:1000 
          RX bytes
:4221376854 (3.9 GiB)  TX bytes:38935450650 (36.2 GiB)

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
:1676 errors:0 dropped:0 overruns:0 frame:0
          TX packets
:1676 errors:0 dropped:0 overruns:0 carrier:0
          collisions
:0 txqueuelen:
          RX bytes
:206456 (201.6 KiB)  TX bytes:206456 (201.6 KiB
On the A , I ping6 2002:1::2, but fail to ping.

On the B. I run
PHP Code:
root@localhost:/netperf_imagetcpdump -n ip6
tcpdump
verbose output suppressed, use -or -vv for full protocol decode
listening on eth0
link-type EN10MB (Ethernet), capture size 96 bytes
02
:15:01.274586 IP6 2002:1::10 ff02::1:ff00:2ICMP6neighbor solicitationwho has 2002:1::2length 32
02
:15:03.274684 IP6 2002:1::10 ff02::1:ff00:2ICMP6neighbor solicitationwho has 2002:1::2length 32
02
:15:04.274269 IP6 2002:1::10 ff02::1:ff00:2ICMP6neighbor solicitationwho has 2002:1::2length 32
02
:15:05.273853 IP6 2002:1::10 ff02::1:ff00:2ICMP6neighbor solicitationwho has 2002:1::2length 32
02
:15:07.274028 IP6 2002:1::10 ff02::1:ff00:2ICMP6neighbor solicitationwho has 2002:1::2length 32
02
:15:08.273606 IP6 2002:1::10 ff02::1:ff00:2ICMP6neighbor solicitationwho has 2002:1::2length 32
02
:15:09.273191 IP6 2002:1::10 ff02::1:ff00:2ICMP6neighbor solicitationwho has 2002:1::2length 32
02
:15:11.273365 IP6 2002:1::10 ff02::1:ff00:2ICMP6neighbor solicitationwho has 2002:1::2length 32
02
:15:12.272943 IP6 2002:1::10 ff02::1:ff00:2ICMP6neighbor solicitationwho has 2002:1::2length 32
02
:15:13.272529 IP6 2002:1::10 ff02::1:ff00:2ICMP6neighbor solicitationwho has 2002:1::2length 32
02
:15:15.272703 IP6 2002:1::10 ff02::1:ff00:2ICMP6neighbor solicitationwho has 2002:1::2length 32
02
:15:16.273286 IP6 2002:1::10 ff02::1:ff00:2ICMP6neighbor solicitationwho has 2002:1::2length 32 
Thanks for your time

Last edited by yanglei_fage; 05-22-2009 at 06:44 AM..