Apple Mac OS X Server Network Card User Manual


 
222 Chapter 14 Working with Network Services
Adding a DHCP Subnet
You may already have a subnet for each port you enabled when you installed and set
up the server. You can use the serveradmin settings command to check for subnets
that the server set up for you (see “Viewing DHCP Service Settings” on page 218).
You can use the serveradmin settings command to add other subnets to your DHCP
configuration.
Note: Be sure to include the special first setting (ending with = create). This is how you
tell serveradmin to create the necessary settings array with the specified subnet ID.
To add a subnet:
$ sudo serveradmin settings
dhcp:subnets:_array_id:
subnetID
= create
dhcp:subnets:_array_id:
subnetID
:WINS_NBDD_server =
nbdd-server
dhcp:subnets:_array_id:
subnetID
:WINS_node_type =
node-type
dhcp:subnets:_array_id:
subnetID
:net_range_start =
start-address
dhcp:subnets:_array_id:
subnetID
:WINS_scope_id =
scope-ID
dhcp:subnets:_array_id:
subnetID
:dhcp_router =
router
dhcp:subnets:_array_id:
subnetID
:net_address =
net-address
dhcp:subnets:_array_id:
subnetID
:net_range_end =
end-address
dhcp:subnets:_array_id:
subnetID
:lease_time_secs =
lease-time
dhcp:subnets:_array_id:
subnetID
:dhcp_ldap_url:_array_index:0 =
ldap-server
dhcp:subnets:_array_id:
subnetID
:WINS_secondary_server =
wins-server-2
dhcp:subnets:_array_id:
subnetID
:descriptive_name =
description
dhcp:subnets:_array_id:
subnetID
:WINS_primary_server =
wins-server-1
dhcp:subnets:_array_id:
subnetID
:dhcp_domain_name =
domain
dhcp:subnets:_array_id:
subnetID
:dhcp_enabled = (yes|no)
dhcp:subnets:_array_id:
subnetID
:dhcp_domain_name_server:_array_index:0 =
dns-server-1
dhcp:subnets:_array_id:
subnetID
:dhcp_domain_name_server:_array_index:1 =
dns-server-2
dhcp:subnets:_array_id:
subnetID
:net_mask =
mask
dhcp:subnets:_array_id:
subnetID
:selected_port_name =
port
Control-D
WINS_scope_id
A domain name such as apple.com.
Default =
""
Corresponds to the NetBIOS Scope ID field in the WINS
pane of the subnet settings in the Server Admin
application.
WINS_secondary_server The secondary WINS server to be used by clients.
Corresponds to the WINS/NBNS Secondary Server field in
the WINS pane of the subnet settings in the Server
Admin application.
Subnet Parameter
subnets:_array_id:<subnetID>: Description