Apple Xserve Up Mac OS X Server Specifications Page 227

  • Download
  • Add to my manuals
  • Print
  • Page
    / 329
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 226
Chapter 14 Configuring and Managing Network Services 227
Adding a DHCP Static Map
To add a static map to the DHCP configuration, use the serveradmin tool. A static DHCP
map allows you to map a specific IP address to a computer based on the Ethernet
(MAC) address.
To add a static map:
$ sudo serveradmin settings
dhcp:static_maps:_array_id:
host name
:
mapID
:
static map parameter
About Static Map IDs
In a list of settings, <mapID> is replaced with a unique ID code for the map entry.
The IDs generated by the server are random numbers. The only requirement for this
ID is that it be unique among the static maps defined on the server.
The
mapID
parameter is used by the administrative software; it is ignored by the bootpd
process that provides the DHCP service. For more information about bootpd, see its
man page.
Note: Include the special first setting (ending with = create). This is how you instruct
serveradmin to create the settings array with the specified map ID. The static map for a
host is identified with the host name, followed by a slash, followed by a unique ID.
To add maps to your DHCP configuration, use the serveradmin settings command.
To create a static map:
$ sudo serveradmin settings
dhcp:static_maps:_array_id:examplehost/9681BABD-3329-402E-A7AB-F0C3608E231D
= create
dhcp:static_maps:_array_id:examplehost/9681BABD-3329-402E-A7AB-
F0C3608E231D:ip_address = "1.2.3.4"
dhcp:static_maps:_array_id:examplehost/9681BABD-3329-402E-A7AB-
F0C3608E231D:name = "examplehost"
dhcp:static_maps:_array_id:examplehost/9681BABD-3329-402E-A7AB-
F0C3608E231D:en_address = "00:30:a1:a2:a1:23"
Control-D
Static Map Parameter Description
ip_address
IP address of host
name
Host’s DNS name
en_address
Host’s Ethernet address
Page view 226
1 2 ... 222 223 224 225 226 227 228 229 230 231 232 ... 328 329

Comments to this Manuals

No comments