netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Listing ipv6 proxy neighbours
@ 2012-11-07  9:03 Alex Bligh
  0 siblings, 0 replies; only message in thread
From: Alex Bligh @ 2012-11-07  9:03 UTC (permalink / raw)
  To: netdev; +Cc: Alex Bligh

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2012-11-07  9:13 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-07  9:03 Listing ipv6 proxy neighbours Alex Bligh

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).