[Bug 233283] IPv6 routing problem when using FreeBSD as a VPS at a cloud provider
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Tue Nov 20 22:02:22 UTC 2018
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=233283
--- Comment #13 from Conrad Meyer <cem at freebsd.org> ---
(In reply to Andrey V. Elsukov from comment #7)
Isn't this patch a bit of a kludge? The existing check for the entry in our L2
entry cache should be sufficient — why don't we populate LLE cache with on-link
off-prefix routers?
It's not clear to me the exact ordering, but it seems somehow we get a router
advertisement and insert it into our routing table without populating the LLE
of the sender in the LLE cache. I think we must be violating the following
somehow (or ignoring SHOULD):
After extracting information from the fixed part of the Router
Advertisement message, the advertisement is scanned for valid
options. If the advertisement contains a Source Link-Layer Address
option, the link-layer address SHOULD be recorded in the Neighbor
Cache entry for the router (creating an entry if necessary) and the
IsRouter flag in the Neighbor Cache entry MUST be set to TRUE. If no
Source Link-Layer Address is included, but a corresponding Neighbor
Cache entry exists, its IsRouter flag MUST be set to TRUE.
Maybe it's bogus that nd6_onlink_ns_rfc4861 defaults to off?
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-net
mailing list