[<prev] [next>] [day] [month] [year] [list]
Message-ID: <CC966090B4F10E8F4612D351@nimrod.local>
Date: Wed, 07 Nov 2012 09:03:54 +0000
From: Alex Bligh <alex@...x.org.uk>
To: netdev@...r.kernel.org
cc: Alex Bligh <alex@...x.org.uk>
Subject: Listing ipv6 proxy neighbours
If I set up an ipv6 proxy neighbour like this:
echo 1 > /proc/sys/net/ipv6/conf/eth0/proxy_ndp
ip neigh add proxy 2a01:2345:8b25:7ea0::22 dev eth0
it appears to go into the kernel OK (the first delete works, the second does not).
However, there appears to be no way of listing them in that
ip -6 neigh show
does not list them.
I assumed this was a bug in 'ip', which I set about trying to fix. Modern 'ip'
has a new command 'ip -6 neigh show proxy' but this also does not list them.
As far as I can tell, stepping through 'ip' with gdb, and commenting out
some of the more obvious if conditions filtering out returns from the kernel,
the kernel is not actually listing these through netlink.
ip maddr show shows a multicast group created, so it's in there somewhere.
$ ./ip -6 maddr show
1: lo
inet6 ff02::1
2: eth0
inet6 ff02::1:ff00:22 <-------- this one
inet6 ff02::fb
inet6 ff02::1:ff48:aad6
inet6 ff02::1
Any ideas?
--
Alex Bligh
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists