Revisiting FreeBSD-SA-08:10.nd6 (or: avoiding IPv6 pain)

Philip Homburg pch-fbsd-2 at u-1.phicoh.com
Mon Apr 6 15:22:59 UTC 2020


>However, when a packet from an "off-link" network is employed, the 
>sending node has no way of knowing where to send the packet, unless it 
>simply swaps the src and dst mac addresses, and uses the source address 
>of the packet as the destination addresses.

No, a node can just use the normal IPv6 send mechnisms to send a NA
message. If the destination is off-link then the packet gets sent to the
default router.

Then, if the default router considers the destination on-link, it will forward
the packet and send a redirect. The redirect should have a link layer address
to allow the target host to send future traffic directly.


More information about the freebsd-net mailing list