222

Subnet Parameter

subnets:_array_id:<subnetID>:

Description

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.

 

 

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-serverdhcp:subnets:_array_id:subnetID:WINS_node_type = node-typedhcp:subnets:_array_id:subnetID:net_range_start = start-addressdhcp:subnets:_array_id:subnetID:WINS_scope_id = scope-IDdhcp:subnets:_array_id:subnetID:dhcp_router = router dhcp:subnets:_array_id:subnetID:net_address = net-addressdhcp:subnets:_array_id:subnetID:net_range_end = end-addressdhcp:subnets:_array_id:subnetID:lease_time_secs = lease-timedhcp:subnets:_array_id:subnetID:dhcp_ldap_url:_array_index:0 = ldap-serverdhcp:subnets:_array_id:subnetID:WINS_secondary_server = wins-server-2dhcp:subnets:_array_id:subnetID:descriptive_name = description dhcp:subnets:_array_id:subnetID:WINS_primary_server = wins-server-1dhcp:subnets:_array_id:subnetID:dhcp_domain_name = domain dhcp:subnets:_array_id:subnetID:dhcp_enabled = (yesno) 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-2dhcp:subnets:_array_id:subnetID:net_mask = mask dhcp:subnets:_array_id:subnetID:selected_port_name = port Control-D

Chapter 14 Working with Network Services

Page 222
Image 222
Apple Mac OS X Server manual Adding a Dhcp Subnet, To add a subnet, Domain name such as apple.com