Skip to content

Add MacOS fix for serving DHCP IP broadcast#1990

Open
nicholas-shi wants to merge 3 commits into
TechnitiumSoftware:masterfrom
nicholas-shi:bugfix/macos-dhcp-network-unreachable
Open

Add MacOS fix for serving DHCP IP broadcast#1990
nicholas-shi wants to merge 3 commits into
TechnitiumSoftware:masterfrom
nicholas-shi:bugfix/macos-dhcp-network-unreachable

Conversation

@nicholas-shi

@nicholas-shi nicholas-shi commented Jun 20, 2026

Copy link
Copy Markdown

On MacOS host systems, there is an issue with DHCP broadcasting IP addresses which results in a Network Unreachable error (#1674).

Based off of fix from insomniacslk/dhcp#378

@nicholas-shi nicholas-shi marked this pull request as ready for review June 20, 2026 13:16
@ShreyasZare

Copy link
Copy Markdown
Member

Thanks for the PR. The implementation here has race condition so it is going to fail to work at times when the server receives requests concurrently.

Have you tried by just removing the SocketFlags.DontRoute to see if that works?

@nicholas-shi

Copy link
Copy Markdown
Author

Ah, that would have been much easier. Just removing SocketFlags.DontRoute also works, updated the code to do that

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants