[Bug 285422] IPv4 source address selection is broken (with loopbacks)
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 15 Mar 2025 07:49:49 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=285422
Marek Zarychta <zarychtam@plan-b.pwste.edu.pl> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |zarychtam@plan-b.pwste.edu.
| |pl
--- Comment #1 from Marek Zarychta <zarychtam@plan-b.pwste.edu.pl> ---
(In reply to Lexi Winter from comment #0)
I don't know if this is a bug or not, but this is how it has been since the
beginning when in FreeBSD was introduced the ability to send IPv4 packets via
IPv6 next-hops.
In RFC 5735 we can read:
0.0.0.0/8 - Addresses in this block refer to source hosts on "this" network.
Address 0.0.0.0/32 may be used as a source address for this host on this
network; other addresses within 0.0.0.0/8 may be used to refer to specified
hosts on this network ([RFC1122], Section 3.2.1.3).
Why do you think that address 0.0.0.0 is the wrong one? You can still use the
loopback address as the source for ping here:
# ping 2.2.2.2 -S 1.1.1.1
--
You are receiving this mail because:
You are the assignee for the bug.