All of lore.kernel.org
 help / color / mirror / Atom feed
* ip route get oddly fails for ipv6
@ 2017-02-23 14:43 Leon Goldberg
  2017-02-23 14:46 ` Leon Goldberg
  0 siblings, 1 reply; 2+ messages in thread
From: Leon Goldberg @ 2017-02-23 14:43 UTC (permalink / raw)
  To: netdev; +Cc: Edward Haas, Dan Kenigsberg

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: ip route get oddly fails for ipv6
  2017-02-23 14:43 ip route get oddly fails for ipv6 Leon Goldberg
@ 2017-02-23 14:46 ` Leon Goldberg
  0 siblings, 0 replies; 2+ messages in thread
From: Leon Goldberg @ 2017-02-23 14:46 UTC (permalink / raw)
  To: netdev; +Cc: Edward Haas, Dan Kenigsberg

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 <lgoldber@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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-02-23 14:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-02-23 14:43 ip route get oddly fails for ipv6 Leon Goldberg
2017-02-23 14:46 ` Leon Goldberg

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.