[Bug 252596] ping to 255.255.255.255 does not set broadcast MAC
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 17 Jul 2022 08:46:40 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=252596 --- 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 the FreeBSD kernel. Thanks again ! -- You are receiving this mail because: You are the assignee for the bug.