Here's a small patch I cooked up because I like how BSD shows IPv6.
By default you have to specify '-A inet6' to see IPv6 routes, connections or anything.
With this, netstat -r and route print out both routing tables by default _IF_ you have
IPv6 kernel module loaded (check for /proc/net/ipv6_route); else, only IPv4 is printed.
Created attachment 7527 [details]
show both ipv6 and ipv4 routing tables if IPv6 is enabled
This patch is a bit controversial as ipv6 printing hasn't been optimized so it always wraps lines.
On BSD, where the idea is from, one route 99% only takes one line.
Has this patch made it into the official upstream release of iputils? If so we
can close this bug as the latest iputils package is now based on the latest
Read ya, Phil
In any case the output of the IPv6 route command should be textually compressed
before this would be feasible, as currently a line wrap happens.
Before this is done, I'm not sure how sensible this is, so closing as WONTFIX..