Forgot to mention: [root@localhost tests]# uname -r 3.10.0-514.2.2.el7.x86_64 [root@localhost tests]# cat /etc/redhat-release CentOS Linux release 7.2.1511 (Core)
On Thu, Feb 23, 2017 at 4:43 PM, Leon Goldberg <lgold...@redhat.com> wrote: > Hey, > > For some reason ip route get fails to retrieve ipv6 routes, although > the subject destination is indeed reachable: > > [root@localhost tests]# ip -6 route > 2001:1::/64 dev eth1 proto kernel metric 256 > fe80::/64 dev eth0 proto kernel metric 256 > fe80::/64 dev eth1 proto kernel metric 256 > > [root@localhost tests]# ping6 2001:1::1 > PING 2001:1::1(2001:1::1) 56 data bytes > 64 bytes from 2001:1::1: icmp_seq=1 ttl=64 time=0.035 ms > 64 bytes from 2001:1::1: icmp_seq=2 ttl=64 time=0.055 ms > 64 bytes from 2001:1::1: icmp_seq=3 ttl=64 time=0.055 ms > ^C > --- 2001:1::1 ping statistics --- > 3 packets transmitted, 3 received, 0% packet loss, time 2000ms > rtt min/avg/max/mdev = 0.035/0.048/0.055/0.011 ms > > [root@localhost tests]# ip route get 2001:1::1 > [root@localhost tests]# > [root@localhost tests]# ip -6 route get 2001:1::1 > [root@localhost tests]# > > ipv4 ip route get works fine. Any hints? > > Thanks, > Leon