Here is the content of a:
/etc/bootpd.plist
which worked correctly on many different versions of MacOS ( Yosemite - High Sierra ):
<?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>allow</key>
<array>
<string>••:••:••:64:5d:5e</string>
<string>••:••:••:0b:61:a8</string>
<string>••:••:••:76:31:48</string>
<string>••:••:••:9f:20:79</string>
<string>••:••:••:ed:7c:fd</string>
<!...>
</array>
<key>Subnets</key>
<array>
<dict>
<key>_creator</key>
<string>com.apple.NetworkSharing</string>
<key>allocate</key>
<true/>
<key>dhcp_domain_name_server</key>
<array>
<string>10.0.2.1</string>
</array>
<key>dhcp_router</key>
<string>10.0.2.1</string>
<key>interface</key>
<string>en1</string>
<key>lease_max</key>
<integer>86400</integer>
<key>lease_min</key>
<integer>86400</integer>
<key>name</key>
<string>10.0.2/24</string>
<key>net_address</key>
<string>10.0.2.0</string>
<key>net_mask</key>
<string>255.255.255.0</string>
<key>net_range</key>
<array>
<string>10.0.2.2</string>
<string>10.0.2.31</string>
</array>
</dict>
</array>
<key>bootp_enabled</key>
<false/>
<key>detect_other_dhcp_server</key>
<array>
<string>en1</string>
</array>
<key>dhcp_enabled</key>
<array>
<string>en1</string>
</array>
<key>dhcp_ignore_client_identifier</key>
<true/>
<key>use_server_config_for_dhcp_options</key>
<false/>
</dict>
</plist>
Next you will have to start the bootpd
server which is managed
with launchd
.
See its configuration file here:
/System/Library/LaunchDaemons/bootps.plist
and check if it is running with:
/usr/bin/sudo launchctl list com.apple.bootpd
Beware of the confusion leading between: bootps
≠ bootpd
.