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? I would expect data like MTU of PMTUD, next hop, usage and so on.


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


Is there any tool available or support still missing?

Thank you for any hints.

Regards,
        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/


-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to