(usagi-users 03643) How to retrieve kernel's IPv6 routing cache table?

Peter Bieringer <[email protected]>
Newsgroups gmane.linux.ipv6.usagi.users
Message-ID <[email protected]>
Hi,

I ran into a "got query but cannot answer" problem.

How to retrieve the kernel's IPv6 routing cache table with a userland tool?


IPv6:
# ip -6 route show table cache
ff02::1 via ff02::1 dev eth0  metric 0
    cache  mtu 1280 advmss 1220 metric 10 4294967295
ff02::1:ffea:7781 via ff02::1:ffea:7781 dev eth0  metric 0
    cache  mtu 1280 advmss 1220 metric 10 4294967295

That's all? I would expect similar to IPv4 like:

# ip -4 route show table cache
local 127.0.0.1 from 127.0.0.1 dev lo
    cache <local>  mtu 16436 advmss 16396 metric 10 64
broadcast 192.0.2.255 from 192.0.2.1 dev lo  src 192.0.2.50
    cache <local,brd,src-direct>  iif eth0
local 127.0.0.1 dev lo  src 127.0.0.1
    cache <local>  mtu 16436 advmss 16396 metric 10 64
192.0.2.1 dev eth0  src 192.0.2.50
    cache  mtu 1500 advmss 1460 metric 10 64
local 192.0.2.50 from 192.0.2.6 dev lo  src 192.0.2.50
    cache <local,src-direct>  iif eth0
192.0.2.6 from 192.0.2.50 tos 0x10 dev eth0
    cache  mtu 1500 advmss 1460 metric 10 64
local 192.0.2.50 from 192.0.2.1 dev lo  src 192.0.2.50
    cache <local,src-direct>  iif eth0
192.0.2.6 from 192.0.2.50 dev eth0
    cache  mtu 1500 advmss 1460 metric 10 64
broadcast 192.0.2.255 from 192.0.2.2 dev lo  src 192.0.2.50
    cache <local,brd,src-direct>  iif eth0
192.0.2.1 from 192.0.2.50 dev eth0
    cache  mtu 1500 advmss 1460 metric 10 64


Also:
# route -A inet -C -n
Kernel IP routing cache
Source          Destination     Gateway         Flags Metric Ref    Use
Iface
192.0.2.50      192.0.2.6       192.0.2.6             0      3        1 eth0
192.0.2.6       192.0.2.50      192.0.2.50      il    0      0      119 lo
192.0.2.50      192.0.2.6       192.0.2.6             0      0        1 eth0
192.0.2.1       192.0.2.50      192.0.2.50      il    0      0        7 lo
192.0.2.50      192.0.2.1       192.0.2.1             0      0        7 eth0
127.0.0.1       127.0.0.1       127.0.0.1       l     0      0        0 lo
127.0.0.1       127.0.0.1       127.0.0.1       l     0      0        0 lo
192.0.2.50      192.0.2.1       192.0.2.1             0      0        7 eth0

But IPv6 tells me:
# route -A inet6 -C -n
nd_print: no support for `ND Table' on this system.

System is Fedora Core 4 with:
kernel 2.6.16-1.2069_FC4
iproute-2.6.11-1
net-tools-1.60-52.fc4.2


Thank you for any hints,
	Peter
-- 
Dr. Peter Bieringer                     http://www.bieringer.de/pb/
GPG/PGP Key 0x958F422D                       mailto:[email protected]
Deep Space 6 Co-Founder and Core Member  http://www.deepspace6.net/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.