[CentOS] what wrong about my ipv6 address

Tue Mar 8 15:42:46 UTC 2011
ann kok <oiyankok at yahoo.ca>

Hi

Thank you for your help

I type the ifconfig -a

there is ipv6 address

inet6 fe80::20c:29ff:fe3c:92a1/64 scope link tentative

i also add one

inet6 2001:db8:cafe:1111::12/64 scope global tentative 

but both are not pingable by ping6


Here are commands you suggested me to run

route -n -A inet6
Kernel IPv6 routing table
Destination                                 Next Hop                                Flags Metric Ref    Use Iface
2001:db8:cafe:1111::/64                     ::                                      U     256    0        0 eth0    
fe80::/64                                   ::                                      U     256    0        0 eth0    
::1/128                                     ::                                      U     0      2        1 lo      
ff00::/8                                    ::                                      U     256    0        0 eth0    


ip -6 route
2001:db8:cafe:1111::/64 dev eth0  metric 256  expires 21334307sec mtu 1500 advmss 1440 hoplimit 4294967295
fe80::/64 dev eth0  metric 256  expires 21330690sec mtu 1500 advmss 1440 hoplimit 4294967295


I can't ping ipv6.google.com but I should ping the eth0 ipv6 as it is host ip address. Right?

Thank you for your help.




--- On Tue, 3/8/11, Jakub Jedelsky <jakub.jedelsky at gmail.com> wrote:

> From: Jakub Jedelsky <jakub.jedelsky at gmail.com>
> Subject: Re: [CentOS] what wrong about my ipv6 address
> To: "CentOS mailing list" <centos at centos.org>
> Received: Tuesday, March 8, 2011, 3:36 AM
> Dne 7.3.2011 20:56, ann kok
> napsal(a):
> > Hi 
> > 
> > I used the command "ip -6 addr add
> 2001:DB8:CAFE:1111::12/64 dev eth0"
> > 
> > to add ipv6 address and can see it in ifconfig 
> > 
> > but can't ping it
> > 
> > Why?
> > 
> > Thank you
> > 
> > # ping6 2001:db8:cafe:1111::12
> > PING 2001:db8:cafe:1111::12(2001:db8:cafe:1111::12) 56
> data bytes
> >>From ::1 icmp_seq=1 Destination unreachable:
> Address unreachable
> >>From ::1 icmp_seq=2 Destination unreachable:
> Address unreachable
> >>From ::1 icmp_seq=3 Destination unreachable:
> Address unreachable
> >>From ::1 icmp_seq=5 Destination unreachable:
> Address unreachable
> >>From ::1 icmp_seq=6 Destination unreachable:
> Address unreachable
> >>From ::1 icmp_seq=7 Destination unreachable:
> Address unreachable
> >>From ::1 icmp_seq=9 Destination unreachable:
> Address unreachable
> >>From ::1 icmp_seq=10 Destination unreachable:
> Address unreachable
> >>From ::1 icmp_seq=11 Destination unreachable:
> Address unreachable
> > 
> > 
> 
> hi,
> 
> have you correctly set gateway? Send `ip -6 route` and
> `route -n -A
> inet6` to us. What about to ping ipv6.google.com from this
> pc?
> Where did you run ping command? Have you IPv6 enabled
> there? "From ::1"
> looks like something is misconfigured..
> 
> JJ
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos
>