Thursday, May 2, 2024
 Popular · Latest · Hot · Upcoming
3
rated 0 times [  3] [ 0]  / answers: 1 / hits: 6833  / 1 Year ago, fri, march 10, 2023, 12:54:48

I setup IPv6 in my Ubuntu 12.04 on eth0 using command



ifconfig eth0 inet6 add 2001:db8:fedc:cdef::1/64


but when i try to ping eth0 itself using



ping6 2001:db8:fedc:cdef::1


it always gives



PING 2001:db8:fedc:cdef:0:0:0:1(2001:db8:fedc:cdef::1)  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


I think that it automatically is pinging from ::1 to `2001:db8:fedc:cdef::1



Command



ip addr show dev eth0


it gives



2: eth0:<NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN qlen 1000
link/ether 00:1b:38:a1:a2:50 brd ff:ff:ff:ff:ff:ff
inet6 2001:db8:fedc:cdef::1/64 scope global tentative
valid_lft forever preferred_lft forever


Command



ip -6 route


it gives



2001:db8:fedc:cdef::/64 dev eth0  proto kernel  metric 256 
fe80::/64 dev eth0 proto kernel metric 256


Command



ip6tables -L


it gives



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


Command



ip6tables -F
it gives nothing.


Please help how to solve this.

this may have clue for someone



command



ip -6 route get 2001:db8:fedc:cdef::1


gives



2001:db8:fedc:cdef::1 from :: via 2001:db8:fedc:cdef::1 dev eth0  src ::1  metric 0 
cache


why it has src ::1 ?


More From » interface

 Answers
2

The IPv6 address is showing as tentative because duplicate address detection can't be completed. And the reason that can't happen is because you have no physical Ethernet connection (the link shows NO-CARRIER).



To resolve the issue, connect your Ethernet cable.


[#32689] Friday, March 10, 2023, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
learty

Total Points: 432
Total Questions: 115
Total Answers: 109

Location: Wallis and Futuna
Member since Tue, Mar 30, 2021
3 Years ago
learty questions
Sat, May 21, 22, 15:30, 2 Years ago
Sun, Jan 9, 22, 22:31, 2 Years ago
Mon, Jul 4, 22, 11:31, 2 Years ago
Tue, Mar 22, 22, 16:28, 2 Years ago
;