Zhenlei Huang
2021-04-25 10:20:37 UTC
Hello hackers,
For IPv6 there's RFC 6724 to clarify the default address selection procedure,
both for source address selection and destination address selection. Are there
any RFCs like RFC 6724 that are for IPv4?
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
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
remote host via the default route. It seems wrong, as link-local address are not
routable as per RFC 3927.
So it is important if there's corresponding RFC clarify the source address selection
for IPv4.
Thanks :)
For IPv6 there's RFC 6724 to clarify the default address selection procedure,
both for source address selection and destination address selection. Are there
any RFCs like RFC 6724 that are for IPv4?
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
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
remote host via the default route. It seems wrong, as link-local address are not
routable as per RFC 3927.
So it is important if there's corresponding RFC clarify the source address selection
for IPv4.
Thanks :)