Unable to start DHCP Server on M4Pro MacBook Pro, works on M4 iMac

When starting the DHCP server on my iMac with an M4 processor, it works just fine. Using the identical (except for the network adapter) configuration, I always get the error: Load failed: 5: Input/output error.

My /etc/bootpd.plist file is:


<?xml version="1.0" encoding="UTF-8"?>

<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">

<plist version="1.0">

<dict>

<key>bootp_enabled</key>

<false/>

<key>detect_other_dhcp_server</key>

<integer>1</integer>

<key>dhcp_enabled</key>

<array>

<string>en0</string>

</array>

<key>reply_threshold_seconds</key>

<integer>0</integer>

<key>Subnets</key>

<array>

<dict>

<key>allocate</key>

<true/>

<key>lease_max</key>

<integer>86400</integer>

<key>lease_min</key>

<integer>86400</integer>

<key>name</key>

<string>10.0.0</string>

<key>net_address</key>

<string>10.0.0.0</string>

<key>net_mask</key>

<string>255.255.255.0</string>

<key>net_range</key>

<array>

<string>10.0.0.3</string>

<string>10.0.0.250</string>

</array>

</dict>

</array>

<key>use_server_config_for_dhcp_options</key>

<true/>

</dict>

</plist>


The network adapter is configured with IP address: 10.0.0.2 and subnet mask: 255.255.255.0.

I start and stop the DHCP server with the following commands:

sudo /bin/launchctl load -w /System/Library/LaunchDaemons/bootps.plist

sudo /bin/launchctl unload -w /System/Library/LaunchDaemons/bootps.plist


The only difference is that the iMac has a built in network adapter (en0), and the MacBook Pro has USB network adapter (en7).


Is there any way to correct this "Load failed: 5: Input/output error"?


Posted on Apr 16, 2025 12:29 AM

Reply
2 replies

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Unable to start DHCP Server on M4Pro MacBook Pro, works on M4 iMac

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.