RHEL6.6z: Ipv6 rt6_stats is broken in some releases
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 cachecommand).
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 of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
