From: "Andreas Hübner" <andreas@k4n.de>
To: netdev@vger.kernel.org
Subject: icmpv6: issue with routing table entries from link local addresses
Date: Mon, 12 Sep 2016 16:27:32 +0200 [thread overview]
Message-ID: <20160912142732.GI26782@targo.k4n.de> (raw)
Hi,
I'm currently debugging a potential issue with the icmpv6 stack and
hopefully this is the correct place to ask. (Was actually looking for a
more specific list, but didn't find anything. Please point me to a more
apropriate list if this is out of place here.)
I have the following setup:
- 2 directly connected hosts (A+B), both have only link local addresses
configured (interface on both hosts is eth0)
- host B is also connected to another host C (via interface eth1)
- main routing table (relevant part) on host B looks like this:
fe80::/64 dev eth1 proto kernel metric 256
fe80::/64 dev eth0 proto kernel metric 256
- host A is trying to ICMPv6 ping the link local address of host B
The issue I currently have is, that the echo reply that host B should
generate is never sent back to host A. If I change the order of the
routing table entries on host B, everything works fine.
(host A is connected on eth0)
I'm wondering, if this is how it is supposed to work. Do we need to do a
routing table lookup when generating an ICMPv6 echo reply for link local
addresses? (From my understanding, this is not done in the neighbour
discovery stack, so why here?)
Actually, I'm convinced I must be doing something wrong here. The setup
for the issue is quite trivial, someone would have tripped over it
already. The only condition is that one host has multiple interfaces
with ipv6 enabled.
Any help in shedding some light onto this issue would be appreciated.
Thanks,
Andreas
next reply other threads:[~2016-09-12 14:37 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-09-12 14:27 Andreas Hübner [this message]
2016-09-12 17:26 ` icmpv6: issue with routing table entries from link local addresses Hannes Frederic Sowa
2016-09-12 19:17 ` David Ahern
2016-09-13 9:22 ` Andreas Hübner
2016-09-13 11:59 ` Andreas Hübner
2016-09-13 2:03 ` Sowmini Varadhan
2016-09-13 2:42 ` Hannes Frederic Sowa
2016-09-13 3:05 ` Sowmini Varadhan
2016-09-13 3:01 ` YOSHIFUJI Hideaki
2016-09-13 6:35 ` Andreas Hübner
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=20160912142732.GI26782@targo.k4n.de \
--to=andreas@k4n.de \
--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