From: Alex Bligh <alex@alex.org.uk>
To: netdev@vger.kernel.org
Cc: Alex Bligh <alex@alex.org.uk>
Subject: Listing ipv6 proxy neighbours
Date: Wed, 07 Nov 2012 09:03:54 +0000 [thread overview]
Message-ID: <CC966090B4F10E8F4612D351@nimrod.local> (raw)
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
reply other threads:[~2012-11-07 9:13 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CC966090B4F10E8F4612D351@nimrod.local \
--to=alex@alex.org.uk \
--cc=netdev@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).