Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Jul 2022 08:46:40 +0000
From:      bugzilla-noreply@freebsd.org
To:        net@FreeBSD.org
Subject:   [Bug 252596] ping to 255.255.255.255 does not set broadcast MAC
Message-ID:  <bug-252596-7501-AO9N5Xglt1@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-252596-7501@https.bugs.freebsd.org/bugzilla/>
References:  <bug-252596-7501@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D252596

--- Comment #9 from Inoki <veyx.shaw@gmail.com> ---
(In reply to Mike Karels from comment #8)

Thanks very much for the comments !

Yes, a simple UDP broadcast using 255.255.255.255 with default route returns
"Network is unreachable" because of no route.

Our application wants to use a UDP broadcast through 255.255.255.255 to
discover a certain service. In the previous kernels, including the FreeBSD =
part
that macOS is using, it works fine. But we found that it does not work any =
more
on FreeBSD 13 (although we have not tested it for long time).

Finally, our workaround is to iterate all the non-local interfaces and send=
 to
their broadcast addresses. This should be coherent with the current design =
in=20
the FreeBSD kernel.

Thanks again !

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-252596-7501-AO9N5Xglt1>