Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Apr 2021 18:20:37 +0800
From:      Zhenlei Huang <zlei.huang@gmail.com>
To:        freebsd-hackers@freebsd.org
Subject:   Are there any RFCs for address selection for IPv4
Message-ID:  <D66C20B9-24FA-4557-96F0-90E56B982150@gmail.com>

next in thread | raw e-mail | index | archive | help
Hello hackers,

For IPv6 there's RFC 6724 to clarify the default address selection =
procedure,=20
both for source address selection and destination address selection. Are =
there
any RFCs like RFC 6724 that are for IPv4?=20

I'm exploring RFC 3927, consider this situation, a host configured with =
link-local
address on NIC and global unicast alias address on loopback interface, =
and default route to=20
the link-local address of router (some ISPs do this). The current =
implementation kernel
will use the link-local address as the source address when initializing =
a connection to=20
remote host via the default route. It seems wrong, as link-local address =
are not=20
routable as per RFC 3927.

So it is important if there's corresponding RFC clarify the source =
address selection=20
for IPv4.

Thanks :)=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?D66C20B9-24FA-4557-96F0-90E56B982150>