[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
Wed Nov 21 08:56:50 UTC 2018
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=233283
--- Comment #14 from Andrey V. Elsukov <ae at FreeBSD.org> ---
(In reply to Conrad Meyer from comment #13)
> (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.
Such route can by added by administrator. The main user's complain is that for
IPv4 you can add route like `route add -host A.B.C.D -iface em0`, but for IPv6
this won't work, because you need to have configured prefix on the interface,
without the prefix ND6 will think that address on this link is not neighbor,
and won't send NS, and you will get ENOBUFS error when try to send a packet to
specified host. This patch adds the check and now the kernel at least will try
to resolve address on the interface.
So, in general you are able to add on-link route to your gateway like this:
route -6 add -host fd00::1 -iface em0
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-net
mailing list