View Your Old Settings The first step to moving services from macOS Server for pretty much all services is to check out the old settings. The second step is to probably ask if where you’re going to put the service is a good idea. For example, these days I prefer to run DHCP services on a network appliance. But it can absolutely be run on a Mac. And so let’s look at how to do that. Here, we’ll use the serveradmin command to view the settings of the DHCP service: /Applications/Server.app/Contents/ServerRoot/usr/sbin/serveradmin settings dhcp The output is an array of subnets with different settings per subnet. dhcp:static_maps = _empty_array dhcp:subnets:_array_id:22217FF5-4DDB-4841-A731-EF5DA080E672:WINS_primary_server =…
-
-
Configure DHCP in macOS Server 5.2
DHCP, or Dynamic Host Control Protocol, is the service used to hand out IP addresses and other network settings by network appliances and servers. The DHCP Server built into macOS Server 5.2 on Sierra is similar to the DHCP service that was included in Server 10.2 from the good ‘ole Panther days. It’s pretty simple to use and transparent, just as DHCP services should be. To install the service, open the Server app and then click on the Show button beside Advanced in the server sidebar. Then click on DHCP. At the DHCP screen, you’ll see two tabs: Settings, used for managing the service and Clients, used to see leases in…
-
Adding DHCP Options in Mac OS X Server
Mac OS X Server comes with a number of DHCP options available; most notably the options available in the GUI. But what about options that aren’t available in the GUI, such as NTP. Well, using /etc/bootpd.plist, the same file we used to define servers allowed to relay, you can also define other options. These begin with the following keys that can be added into your property list: dhcp_time_offset (option 2) dhcp_router (option 3) dhcp_domain_name_server (option 6) dhcp_domain_name (option 15) dhcp_network_time_protocol_servers (option 42) dhcp_nb_over_tcpip_name_server (option 44) dhcp_nb__over_tcpip_dgram_dist_server (option 45) dhcp_nb_over_tcpip_node_type (option 46) dhcp_nb_over_tcpip_scope (option 47) dhcp_smtp_server (option 69) dhcp_pop3_server (option 70) dhcp_nntp_server (option 71) dhcp_ldap_url (option 95) dhcp_netinfo_server_address (option 112) dhcp_netinfo_server_tag…