1

I need to run bootpd on El Capitan and configure it to use a different gateway and modify the pool range by altering file /etc/bootpd.plist

However on El Capitan it seems that bootpd while present is essentially disabled and the bootpd.plist file isn't in /etc or anywhere.

How do I get going with bootpd on 10.11.x ?

ferik
  • 111
  • 1
  • 3

2 Answers2

0

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: bootpsbootpd.

dan
  • 168
  • 9