RHEL6: Ipv6 rt6_stats is broken in some releases

Solution In Progress - Updated -

Issue

  • We are using the below command which was suggested by Redhat for RHEL 6.5 in RHEL 6.6 as well to retrieve IPv6 route cache size.
# cat /proc/net/rt6_stats| awk '{print strtonum("0x" $6)}'

This is also mentioned in Redhat knowledge base article https://access.redhat.com/solutions/2619121 and https://access.redhat.com/articles/2653931

  • However, this interface looks to be broken in RHEL 6.6. We get a huge value using the above command (the real cache use is low which is verified using ip -6 r show cache command).

Environment

  • Red Hat Enterprise Linux 6
    • Ipv6
  • See resolution section for affected releases

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content