[Bug 285422] IPv4 source address selection is broken (with loopbacks)

[email protected]
Newsgroups gmane.os.freebsd.devel.net
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=285422

Marek Zarychta <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected].
                   |                            |pl

--- Comment #1 from Marek Zarychta <[email protected]> ---
(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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.