Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 06 Apr 2020 17:22:48 +0200
From:      Philip Homburg <pch-fbsd-2@u-1.phicoh.com>
To:        freebsd-net@freebsd.org
Subject:   Re: Revisiting FreeBSD-SA-08:10.nd6 (or: avoiding IPv6 pain) 
Message-ID:  <m1jLTaK-0000KhC@stereo.hq.phicoh.net>
In-Reply-To: Your message of "Sun, 5 Apr 2020 16:28:32 -0300 ." <327cf281-ca39-7c2f-3545-0edd3b40808f@gont.com.ar> 

next in thread | previous in thread | raw e-mail | index | archive | help
>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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?m1jLTaK-0000KhC>