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