i'm playing with ip command and today i saw my fedora 16 doesn't show the routing cache information after i did a connection to a host, on centos 5 and on suse 10,11 i have no problem if i use the command ip route show cache or route -Cen, my kernel version is 3.6.11-4.fc16.i686
I would like to know if it's something related with kernel version or if it's a fedora problem command utilities.
The IPv4 route cache was removed from kernel 3.6. You should be able to find any routing exceptions in the FIB trie (see
/proc/net/fib_trie
).You can get detailed information on the path MTU for a host as follows. Note that the cache information must be populated first. This testing was performed with a 3.13 Ubuntu kernel. I first validate the current cache for a host, I haven't communicated with it and have no information:
I then try to ping it with a packet larger than the MTU (but not so large that the packet must be fragmented by the OS). You may miss the first few pings when you test, you should see the Frag needed message.
After you receive the ICMP MTU Exceeded message the kernel should adjust your route cache to reflect the path limitations: