HP OpenVMS Systems

ask the wizard
Content starts here

Configuring DHCP?

» close window

The Question is:

 
hello
I have the TCPIP on my vax machine.
After i enable the service DHCP how do i create the table and write the
 relevent information in it.
 
Thanks
 


The Answer is :

 
http://www.openvms.digital.com:8000/72final/6526/6526profile_010.html#dhcp_chap
 
  For the manual process for DHCP client configuration, please see
  the following (erroneously omitted) documentation.
 
 
 
 
                                                                        B
        _________________________________________________________________
 
                                Defining DHCP Client Information Manually
 
 
              After you run the TCPIP$CONFIG.COM procedure and enable
              the DHCP server on your system, you can use the DHCP GUI
              or manually define the following client information on a
              case-by-case basis:
 
              o  Static, dynamic, or finite addressing
 
              o  Other identifying parameters, such as default gateways
                 and DNS domain names
 
                ________________________ Note ________________________
 
                DHCP does not register newly configured hosts with the
                Domain Name System.
 
                ______________________________________________________
 
              This appendix contains information about how to define DHCP
              client information manually by editing configuration files
              and updating the binary databases. For information about
              how to define client information using the DHCP GUI instead
              of the manual procedures, see Section 7.3.
 
        B.0.1 Tasks Involved
 
              Defining client addressing and additional parameters
              manually involves the following steps:
 
              1. Modify the appropriate text-based configuration file(s).
 
                 The configuration files are located in
                 SYS$SYSDEVICE:[TCPIP$DHCP]. These files are listed in
                 Table B-1.
 
                 You manually edit the DHCP configuration files using a
                 text editor such as EDT, TPU, or LSE. Depending on your
                 environment, you may or may not need to modify all the
                 files.
 
                            Defining DHCP Client Information Manually B-1
 
 
 
 
 
        Defining DHCP Client Information Manually
 
 
 
              2. If appropriate, run DHCP utilities to update the binary
                 databases.
 
                 When you are modifying information already stored in
                 the databases, you use command line utilities to access
                 and update the database contents. These utilities are
                 defined as both OpenVMS and UNIX commands. Table B-2
                 lists the utilities. For information about how to use
                 them, see Appendix B.
 
              3. Reinitialize the DHCP server for the changes to take
                 effect (Section B.0.9).
 
        B.0.2 Configuration Files
 
              The DHCP configuration files described in Table B-1 are
              located in SYS$SYSDEVICE:[TCPIP$DHCP].
 
              Table_B-1_DHCP_Configuration_Files_________________________
 
              File
              Name______Description______________________________________
 
              SERVER.PCYDescribes the behavior of the server. For
                        example, this policy file tells you whether BOOTP
                        clients should be supported, the ping timeout
                        value, and so on.
 
                        You may need to make modifications to this file
                        to change the default settings. Some of the
                        defaults are support for BOOTP clients and assign
                        names by IP addresses.
 
              DHCPCAP.  Defines the client configuration parameters.
 
                        This file is similar to the standard bootptab
                        file used by most BOOTP servers. Each entry in
                        the file can describe a single host, all the
                        hosts within a subnet, or a group of hosts.
 
              NETS.     Defines the pool of IP addresses available to
                        the DHCP server to assign to clients. Used for
                        dynamic address assignments.
 
 
        B-2 Defining DHCP Client Information Manually
 
 
 
 
 
                                Defining DHCP Client Information Manually
 
 
 
              Table_B-1_(Cont.)_DHCP_Configuration_Files_________________
 
              File
              Name______Description______________________________________
 
              NETMASKS. Defines network masks if the network is
                        subnetted.
 
              NAMEPOOL. Defines the names available for assignment to
                        DHCP clients. The server uses the names only as a
                        last resort. For example, when the client did not
                        suggest a name and there is no name associated
              __________with_the_IP_address_offered_to_the_client._______
 
              Template copies of the DHCP configuration files are located
              in SYS$LIBRARY:TCPIP$TEMPLATES.TLB. The template copies
              provide instruction on how to edit the text files manually.
              The SERVER.PCY template file contains information about the
              various parameters you can set.
 
              Sections B.0.4 through B.0.9 describe how to edit the
              DHCP configuration files and reinitialize the server.
              For information about the configuraition symbols you
              use to define parameters in the configuration files, see
              Section B.1.
 
        B.0.3 Utility Commands for Manipulating Databases
 
              The commands you use to modify and look at the contents of
              the DHCP databases are listed in Table B-2. TCP/IP Services
              supplies the UNIX type commands for UNIX users familiar
              with the JOIN product's DHCP server.
 
 
 
 
 
 
 
 
 
 
 
 
 
                            Defining DHCP Client Information Manually B-3
 
 
 
 
 
        Defining DHCP Client Information Manually
 
 
 
              Table_B-2_DHCP_Utility_Commands_Associated_with_Databases__
 
              OpenVMS     UNIX
              Command_____Command__Description___________________________
 
              dhcpdbmod   jdbmod   Modifies lease and naming information
                                   in the database. Allows you to
                                   preassign static IP addresses to
                                   clients. Also allows you to create,
                                   delete, or modify existing entries.
 
              dhcpdbreg   jdbreg   Populates the database with MAC
                                   addresses of known clients. Each
                                   record to be loaded is terminated by a
                                   new line, and the fields within each
                                   record are separated by the vertical
                                   bar (|) character.
 
              dhcpdbdump  jdbdump  Reads and outputs information stored
                                   in the lease database files including
                                   MAC address information, IP addresses,
                                   and lease information. Each line of
                                   output describes the lease information
                                   for one client.
 
              dhcpshowdbs showdbs  Reads the same information described
                                   for dhcpdbdump (above) except that the
                                   output is in a format that is easier
                                   to read.
 
              dhcpdbshow  dbshow   Displays the contents of a single DHCP
              _____________________binary_database.______________________
 
              For information about how to enter the DHCP utility
              commands, see Sections B.0.10 through B.0.12.
 
        B.0.4 Modifying the Server Policy File
 
              The SERVER.PCY file configures the behavior of the server.
              This policy file describes various aspects of the server,
              for example, what sort of name service to use, whether
              BOOTP should be supported, and ping timeout value.
 
              Separate entries in the SERVER.PCY file from one another
              by new lines. The server ignores blank lines and comments
              (lines beginning with the pound (#) symbol. Each new policy
              option must begin and end on a separate line. A keyword
              introduces a policy option. A policy option can be Boolean
 
        B-4 Defining DHCP Client Information Manually
 
 
 
 
 
                                Defining DHCP Client Information Manually
 
 
 
              or can take a value separated from the keyword by space
              (but not a new line).
 
              If an option occurs more than once, only the value attached
              to the last occurrence takes effect; the server forgets the
              earlier values.
 
        B.0.5 Modifying the Client Configuration Parameters File
 
              The DHCPCAP. file describes the various configuration
              parameters for the clients. This file is similar to the
              standard bootptab file used by most BOOTP servers. Each
              entry in the file can describe a single machine (per-node
              basis) or all the machines within a subnet (per-subnet
              basis) or a group of machines (per-group basis).
 
        B.0.5.1 Defining Static DHCP Addresses Manually
 
              You can edit the DHCPCAP. file and assign a specific IP
              address with a permanent lease time (a static address) to
              a DHCP client. However, make sure you use the dhcpdbmod
              command afterward to update the lease database (see
              Section B.0.11).
 
        B.0.5.2 DHCPCAP Configuration Syntax
 
              The DHCPCAP. configuration file uses two-character, case-
              sensitive symbols that represent host parameters. Colons
              ( : ) follow and separate parameters from one another. For
              example, gw specifies gateway. For a list of the available
              symbols, see Section B.1.
 
              Use the syntax shown in Example B-1 and illustrated in
              Example B-2.
 
              Example B-1 DHCPCAP Configuration Syntax
 
              host entryname:\
                      symbol=value: symbol=value: symbol=value:
 
              o  Host entry name is usually the name of the BOOTP or DHCP
                 client.
 
              o  Symbol is the two-character symbol that describes the
                 parameters to be associated with the client.
 
                            Defining DHCP Client Information Manually B-5
 
 
 
 
 
        Defining DHCP Client Information Manually
 
 
 
              o  Value is a valid entry that represents the symbol. For
                 more information, see Section B.0.5.5.
 
 
              Example B-2 Sample Single Host DHCPCAP File Entry
 
              mypc:\
                 :ht=ether:\
                 :ha=112233445566:\
                 :ip=143.32.3.10:\
                 :gw=143.32.3.1:\
                 :dn=acme.com:
 
        B.0.5.3 DHCPCAP Configuration Rules
 
              Observe the following rules:
 
              o  Start each new host entry on a new line. You can make
                 a single entry span multiple lines by ending each line
                 with a backslash (\).
 
              o  Terminate each entryname and each symbol/value pair
                 with a colon ( : ). You can leave blank spaces between
                 symbol/value pairs for readability.
 
              o  Enter the entryname in the first field in the
                 configuration file entry.
 
              o  Make sure that the host hardware type (ht) precedes the
                 host hardware address (ha).
 
              You can delete symbol values associated with a particular
              client by entering an at sign (@) immediately following the
              symbol. For example, gw@.
 
              Both BOOTP and DHCP interpret lines that begin with any of
              the following as commands:
 
              o  The pound sign (#)
 
              o  One or more blank spaces followed by #
 
              o  A blank line
 
 
        B-6 Defining DHCP Client Information Manually
 
 
 
 
 
                                Defining DHCP Client Information Manually
 
 
 
        B.0.5.4 DHCPCAP Configuration Examples
 
              Example B-3 shows a sample single-host DHCPCAP. file entry.
              This entry, mypc, describes the configuration for a BOOTP
              client. It describes the client itself, its IP address, the
              default gateway, and the domain name.
 
              Example B-3 Sample Single Host DHCPCAP Entry
 
              mypc:\
                 :ht=ether:\
                 :ha=112233445566:\
                 :ip=143.32.3.10:\
                 :gw=143.32.3.1:\
                 :dn=acme.com:
 
              Example B-4 shows a subnet DHCPCAP. file entry. This entry,
              subnet5, describes the parameters for all the clients on
              a particular subnet, 143.32.5.0. It describes the default
              gateway, subnet mask, domain name, DNS server address, and
              lease time of the address.
 
              Example B-4 Sample Subnet DHCPCAP Entry
 
              subnet5:\
                 :nw=143.32.5.0:\
                 :gw=143.32.5.1:\
                 :sm=255.255.255.0:\
                 :dn=engr.acme.com:\
                 :ds=143.32.5.10:\
                 :lt=3600:
 
        B.0.5.5 Symbol Value Formats
 
              The symbol values require specific formats. Use only the
              following formats:
 
              o  ASCII string
 
                 Enclose this string in double quotation marks ( "" ) if
                 it contains any of the special characters: colon ( : ),
                 pound sign ( # ), tab, or space.
 
              o  ASCII integer list
 
                            Defining DHCP Client Information Manually B-7
 
 
 
 
 
        Defining DHCP Client Information Manually
 
 
 
                 A list of integers separated by white space consisting
                 of ASCII-format characters that represent an unsigned
                 hexadecimal, octal, or decimal integer.
 
                 -  Begin the string with 0X or 0x if this is a
                    hexadecimal integer.
 
                 -  Begin the string with zero ( 0 ) if this is an octal
                    integer.
 
              o  IP address list
 
                 ASCII string representing an IP address. Use dot-
                 notation formation (for example, 128.119.95.2). Valid
                 Internet address formats are:
 
                 -  a.b.c.d.
 
                 -  a.b.c (with c treated as 16 bits)
 
                 -  a.b (with b treated as 24 bits)
 
                 -  a. (with a treated as 32 bits)
 
                 An IP address list is a string of one or more IP
                 addresses, with the addresses separated by white space.
                 For example:
 
                 tg=128.119.91.2
                 tg=128.119.95.42    128.119.95.8
 
                 You can also use IP address lists to define DHCP address
                 ranges, routing policy filters, and static routes.
 
              o  Hexadecimal ASCII string
 
              o  ASCII-format representation of a hexadecimal integer
                 that DHCP and BOOTP interpret as a hardware address.
 
                 The ASCII string must have the correct number of
                 digits for the specified hardware type; for example,
                 twelve digits for a 48-bit Ethernet address. To improve
                 readability, you can:
 
                 -  Separate the two-digit sequences (bytes) with hyphens
                    ( - ).
 
                 -  Separate the two-digit sequences (bytes) with periods
                    ( . ).
 
                 -  Add a 0x prefix to each byte (or only some bytes) of
                    the address.
 
        B-8 Defining DHCP Client Information Manually
 
 
 
 
 
                                Defining DHCP Client Information Manually
 
 
 
                 -  Add a hyphen between some bytes and 0x prefixes
                    before others.
 
                 -  Add a period between some bytes and 0x prefixes
                    before others.
 
                 Examples of valid hexadecimal ASCII strings are:
 
                 ha=7F-FF-81-00-0A-47
                 ha=0X7F0XFF0X81000A47
                 ha=0X7F-FF0XF8-1000A47
 
              o  Booleans and switches
 
                 A boolean symbol performs a function just by its
                 presence. A switch is the value 0 or 1, and it
                 associates one of two functions to those values
                 (usually, disable and enable, respectively).
 
        B.0.6 Modifying the Network Addresses File
 
              The NETS. file describes the ranges of IP addresses
              available to the server for the clients. Both BOOTP
              and DHCP use this pool of addresses whenever dynamic IP
              assignment is needed.
 
              Separate entries in the NETS. file from one another by new
              lines. The server ignores blank lines and comments (lines
              beginning with the pound (#) symbol).
 
              Each entry consists of three fields:
 
              o  The network number expressed as an IP address, for
                 example, 142.132.3.0.
 
              o  The owner of this IP address range expressed as the
                 IP address of the server host (142.132.3.1) or the
                 host name (dhcpserver in Example 4). If a DHCP cluster
                 failover environment is configured (see Section 7.5),
                 the IP address is defined as the null address 0.0.0.0 so
                 that applicable cluster nodes can receive packets.
 
              o  A range of available addresses for dynamic allocation to
                 hosts on the net.
 
                 The range is expressed as a pair of IP addresses with
                 a dash (-) between them, for example, 143.32.3.10-
                 143.32.3.30. There must be no white space separating
                 the dash from the IP addresses. You can specify more
 
                            Defining DHCP Client Information Manually B-9
 
 
 
 
 
        Defining DHCP Client Information Manually
 
 
 
                 than one range for each network; the ranges need not be
                 contiguous.
 
              The entries in the net file shown in Example B-5 describe
              the IP ranges for two different networks, each with its own
              set of IP addresses.
 
              Example B-5 NETS Entries with IP Ranges for Two Networks
 
              143.32.3.0  143.32.3.1 143.32.3.10-143.32.3.30
              143.32.3.40-143.32.3.60 143.32.3.75-143.32.3.100
 
              143.32.5.0  dhcpserver  143.32.5.10-143.32.5.200
 
              The first entry comprises two lines and describes three
              noncontiguous ranges of IP addresses for the network
              143.32.3.0.
 
              The second entry describes a single range of addresses for
              the network 143.32.5.0. Notice the use of an IP address
              in the first entry (143.32.3.1) and the use of a host name
              (dhcpserver) in the second entry to describe the owner of
              the IP address ranges.
 
        B.0.7 Modifying the Netmask Masks File
 
              If your network is subnetted in a format that is not
              consistent with the standard A, B, or C netmask address,
              you must include the network and netmask addresses
              in the NETMASKS. file during the initial DHCP server
              configuration. For more information, see Section 7.2.3.
 
        B.0.8 Modifying the Namepool File
 
              The NAMEPOOL. file specifies a collection of names
              available for dynamic assignment to DHCP clients. The
              server uses the names in this file only as a last resort.
              For example, the server might use this file when the client
              did not suggest a name and there is no name associated with
              the IP address being offered to the client.
 
              In addition to this pool of names, there is also a name
              prefix. Once the name pool is exhausted, the server
              generates names from the prefix by appending a number, 1,
              2, 3, and a trailing "d." Once a name has been dynamically
              bound to a host the server never uses the name again even
              if that host subsequently acquires a new name.
 
        B-10 Defining DHCP Client Information Manually
 
 
 
 
 
                                Defining DHCP Client Information Manually
 
 
 
              Separate entries in the NAMEPOOL. file from one another by
              new lines. The server ignores blank lines and comments
              (lines beginning with a pound (#) symbol). Each entry
              consists of four fields:
 
              o  The domain name to which the names apply.
 
              o  The owner of these names, expressed as the IP address
                 of the server host (142.132.3.1) or the host name
                 (dhcpserver).
 
              o  An optional name prefix, used for generating names once
                 the name pool is exhausted.
 
              o  A list of names in the pool.
 
              Example B-6 shows a NAMEPOOL. file containing a name
              prefix. The first entry describes five names available
              to the acme.com domain with a name prefix of pc.
 
              Example B-6 NAMEPOOL Entries Showing the Use of a Name
                          Prefix
 
              acme.com 142.132.3.1 pc alpha bravo charlie delta echo engr.acme.com
 
              dhcpserver EngrPC victor whiskey xray yankee zulu
 
              The second entry describes five different names for the
              engr.acme.com domain with a name prefix of EngrPC. Notice
              the use of an IP address in the first entry (143.32.3.1)
              and the use of a host name (dhcpserver) in the second entry
              to describe the owner of the IP address ranges.
 
        B.0.9 Reinitializing the DHCP Server
 
              Once you have made changes to the configuration files, you
              must force the server to read them again by sending it a
              HUP signal (see Section 7.6). Enter the following commands:
 
              $ dhcpsignal
 
              $ dhcpsighup
 
 
 
                           Defining DHCP Client Information Manually B-11
 
 
 
 
 
        Defining DHCP Client Information Manually
 
 
 
        B.0.10 Using the DHCPDBDUMP, DHCPSHOWDBS, and DHCPDBSHOW
               Utilities
 
              The dhcpdbdump, dhcpshowdbs, and dhcpdbshow commands dump
              the information stored in the lease database files. The
              dumped lease information includes:
 
              o  MAC address
 
              o  MAC address type
 
              o  MAC address length (octets)
 
              o  IP address
 
              o  Start of lease (UCT)
 
              o  Lease expiration (UCT)
 
              o  Time when lease can be extended (UCT)
 
              o  Time when host last renewed or acquired this lease (UCT)
 
              o  IP address of server ``owning'' the lease
 
              o  Host name (without domain)
 
              o  Domain name
 
              Each line of output describes the lease information for
              one client. The output is in a format that is used by the
              dhcpdbmod utility to modify the lease database.
 
                ________________________ Note ________________________
 
                The dhcpbdump, dhcpshowdbs, and dhcpdbshow commands
                perform read operations on the database, while
                dhcpdbmod performs write operations.
 
                ______________________________________________________
 
              The dhcpdbdump, dhcpshowdbs, and dhcpdbshow commands accept
              a number of different flags and arguments. Table B-3 lists
              some of the more important flags.
 
        B-12 Defining DHCP Client Information Manually
 
 
 
 
 
                                Defining DHCP Client Information Manually
 
 
 
              Table B-3 dhcpdbdump, dhcpshowdbs, and dhcpdbshow Command
              __________Flags____________________________________________
 
              Flag___Description_________________________________________
 
              -a     Dumps dates in readable format
 
              -c     Dumps currently active leases only
 
              -e_____Dumps_expired_leases_only___________________________
 
        B.0.11 Using the DHCPDBMOD Utility
 
              The dhcpdbmod command modifies the lease and naming
              information in the database files. It allows the user to
              create, delete, or modify existing database entries and to
              preassign static IP address to clients.
 
              The utility takes input from a file that describes various
              entries in the database. The syntax of each entry is
              similar to the output of dhcpdbdump.
 
              Use the following format:
 
              o  Terminate each record to be loaded by a new line.
 
              o  Delimit the fields within each record with the vertical
                 bar ( | ) character.
 
              o  Express date fields in one of the following ways:
 
                 -  Universal Coordinated Time (UCT), the number of
                    seconds since 00:00 01/01/1970 GMT
 
                 -  A format more easily understood, such Mon Jan 09 1995
                    10:00 or 01/09/1995 10:00:00
 
              Although some fields can be empty, each entry consists of
              the following fields:
 
              1  MAC address
 
              2  MAC address type
 
              3  MAC address length (octets)
 
              4  IP address
 
              5  Start of lease (UCT)
 
              6  Lease expiration (UCT)
 
              7  Time when lease can be extended (UCT)
 
                           Defining DHCP Client Information Manually B-13
 
 
 
 
 
        Defining DHCP Client Information Manually
 
 
 
              8  Time when host last renewed or acquired this lease (UCT)
 
              9  IP address of server ``owning'' the lease
 
              10 Host name (without domain)
 
              11 Domain name
 
              Example B-7 shows a sample entry. The first entry describes
              the client called alpha.acme.com with the IP address
              143.32.3.20.
 
              The second entry describes a Microsoft DHCP client with the
              IP address 143.32.3.21. No name is given for this client.
 
              Example B-7 Sample DHCPDBMOD Entry
 
              00:a0:24:8c:6b:091|12|63|143.32.3.204|8449894575|8449894666|
              8449894667|8449894668|143.32.3.19|alpha10|acme.com11|
 
              01:00:40:05:14:df:11|0|7|143.32.3.21|844989457|844989466|844989466|
              844989466|143.32.3.1|||
 
              The dhcpdbmod command accepts a number of different flags
              and arguments. Table B-4 shows some of the more important
              flags.
 
              Table_B-4_dhcpdbmod_Command_Flags__________________________
 
              Flag___Description_________________________________________
 
              -d     Deletes the record.
 
              -e     Stores the record even if the lease has expired.
 
              -l     Stores the lease information only. Does not store
                     name information.
 
              -n     Stores the name information. Does not store lease
                     information.
 
              -w_____Overwrites_the_record_if_a_record_already_exists.___
 
              By default, dhcpdbmod stores both lease and name
              information for non-expired and new clients.
 
        B-14 Defining DHCP Client Information Manually
 
 
 
 
 
                                Defining DHCP Client Information Manually
 
 
 
        B.0.12 Using the DHCPDBREG Utility
 
              Use the dhcpdbreg command to populate the database with
              the MAC address of known MAC clients. Set the SERVER.PCY
              parameter, Restrict to Known MAC Address to True to use
              this utility. The dhcpdbreg command can add or remove hosts
              from the list of known MAC addresses. Use the following
              syntax when you enter a record:
 
              o  Terminate each record to be loaded by a new line.
 
              o  Delimit the fields within each record with the pipe ( |
                 ) character.
 
              Each entry contains the following three fields:
 
              o  MAC address
 
              o  MAC address type
 
              o  MAC address length (octets)
 
              The dhcpdbreg command accepts a number of different flags.
              Two of the most important flags are as follows:
 
              ___________________________________________________________
              Flags__Description_________________________________________
 
              -d     Deletes the record.
 
              -s_____Displays_all_registered_MAC_addresses.______________
 
        B.1 DHCP Configuration Symbols
 
              Table B-5 describes each DHCP configuration file symbol and
              indicates whether you use the symbol in DHCP configuration
              only or in BOOTP and DHCP configuration.
 
 
 
 
 
 
 
 
                           Defining DHCP Client Information Manually B-15
 
 
 
 
 
        Defining DHCP Client Information Manually
        B.1 DHCP Configuration Symbols
 
 
              Table_B-5_BOOTP/DHCP_Configuration_File_Symbols____________
 
                                   Value
              Symbol_Function______Format______Description_______________
 
              ar     Address       IP address  An IP address list value
                     range                     that defines the range
                                               of addresses to be
                                               dynamically assigned by
                                               DHCPD. The list consists
                                               of an even number of IP
                                               addresses in pairs, each
                                               identifying the beginning
                                               and end of a range of
                                               consecutive addresses. To
                                               assign a single address,
                                               use the ip symbol.
 
              ba     Broadcast     IP address  Specifies the broadcast
                     address                   address in use on the
                                               client's subnet.
 
              bf     Boot file     ASCII       Specifies the fully
                                   string      qualified path name of
                                               the client's default boot
                                               image.
 
              bs     Boot file     ASCII       Specifies the length in
                     size          integer or  512-octet blocks of the
                                   auto        default boot image for the
                                               client.
 
              cs     Cookie        IP address  Specifies a list of
                     server        t           RFC 865 cookie servers
                     address                   available to the client.
                     list                      Enter servers in order of
                                               preference.
 
              ct     ARP cache     ASCII       Specifies the timeout
                     timeout       integer     in seconds for ARP cache
                                               entries.
 
 
 
 
        B-16 Defining DHCP Client Information Manually
 
 
 
 
 
                                Defining DHCP Client Information Manually
                                           B.1 DHCP Configuration Symbols
 
 
              Table_B-5_(Cont.)_BOOTP/DHCP_Configuration_File_Symbols____
 
                                   Value
              Symbol_Function______Format______Description_______________
 
              dd     NetBIOS       IP address  Specifies a list of RFC
                     over TCP/IP   list        1001/1002 NBDD servers
                     datagram                  listed in order of
                     distribution              preference.
                     server
 
              dg     Maximum       ASCII       Specifies the maximum size
                     datagram      integer     datagram that the client
                     reassembly                should be prepared to
                     size                      reassemble. The minimum
                                               legal value is 576.
 
              ee     Ethernet en-  0 or 1      Specifies whether the
                     capsulation               client should use Ethernet
                                               Version 2 (RFC 894) or
                                               IEEE 802.3 (RFC 1042)
                                               encapsulation if the
                                               interface is an Ethernet.
                                               The switch values are 0 -
                                               Use RFC 894 encapsulation
                                               or 1 - Use RFC 1042
                                               encapsulation.
 
              ep     Extensions    ASCII       Specifies a file,
                     path          string      retrievable through TFTP,
                                               that contains information
                                               that can be interpreted
                                               in the same way as the 64-
                                               octet vendor-extension
                                               field in the BOOTP
                                               response. The length of
                                               the file is unconstrained.
 
              gw     Gateway       IP address  IP address list that
                     address list  list        specifies the IP address
                                               of the gateway for the
                                               specified subnet.
 
 
 
                           Defining DHCP Client Information Manually B-17
 
 
 
 
 
        Defining DHCP Client Information Manually
        B.1 DHCP Configuration Symbols
 
 
              Table_B-5_(Cont.)_BOOTP/DHCP_Configuration_File_Symbols____
 
                                   Value
              Symbol_Function______Format______Description_______________
 
              ha     Clients       ASCII       Specifies if host names
                     hardware      string      can be assigned by the
                     address                   hardware address. If so
                                               specified, the client
                                               host, provided it remains
                                               in the same domain,
                                               retains the same name,
                                               even if its IP address
                                               changes.
 
              hh     Host name     Boolean     Can appear only in the
                                               format hn: or hn@:.
                                               Indicates that the DHCP
                                               server should write the
                                               client's host name to the
                                               vend field of the DHCP
                                               reply packet and send the
                                               packet to the client.
 
              ht     Client's      ASCII       Specifies the hardware
                     hardware      string      type code as assigned in
                     type          or ASCII    the ARP section of RFC
                                   integer     1340, Assigned Numbers.
 
              if     Forwarding    0 or 1      Specifies whether the
                     en-                       client should configure
                     able/disable              its IP layer for packet
                                               forwarding. The values are
                                               0-Disable or 1-Enable.
 
              im     Impress       IP address  Specifies a list of
                     server        list        Imagen Impress servers
                     address                   available to the client.
                     list                      Enter servers in order of
                                               preference.
 
              ip     Client IP     IP address  Specifies the IP address
                     address                   of the BOOTP client or
                                               a single IP address to
                                               assign the DHCP client.
 
        B-18 Defining DHCP Client Information Manually
 
 
 
 
 
                                Defining DHCP Client Information Manually
                                           B.1 DHCP Configuration Symbols
 
 
              Table_B-5_(Cont.)_BOOTP/DHCP_Configuration_File_Symbols____
 
                                   Value
              Symbol_Function______Format______Description_______________
 
              kg     TCP           0 or 1      Specifies whether the
                     keepalive                 client should send TCP
                     garbage                   keepalive messages with
                                               an octet of garbage for
                                               compatibility with older
                                               implementations.
 
              ki     TCP           ASCII       Specifies the interval
                     keepalive     integer     (in seconds) that the
                     interval                  client TCP should wait
                                               before sending a keepalive
                                               message on a TCP.
 
              lg     Log server    IP address  Specifies a list of
                                   list        MIT-LCS UDP log servers
                                               available to the client.
 
              lp     LPR server    IP address  Specifies a list of RFC
                     address list  list        1179 line printer servers
                                               available to the client.
                                               Enter servers in order of
                                               preference.
 
              lt     Lease time    ASCII       Used in a client request
                                   integer     to allow the client to
                                               request a lease time
                                               for the IP address. In
                                               a server reply, specifies
                                               the lease time the server
                                               is willing to offer.
                                               Enter the time in months,
                                               days, hours, minutes, and
                                               seconds. For example,
                                               2 months, 5 days, 45
                                               seconds.
 
              md     Perform mask  0 or 1      Specifies whether the
                     discovery                 client should perform
                                               subnet mask discovery
                                               using ICMP.
 
                           Defining DHCP Client Information Manually B-19
 
 
 
 
 
        Defining DHCP Client Information Manually
        B.1 DHCP Configuration Symbols
 
 
              Table_B-5_(Cont.)_BOOTP/DHCP_Configuration_File_Symbols____
 
                                   Value
              Symbol_Function______Format______Description_______________
 
              mf     Merit dump    ASCII       Specifies the path name
                     file          string      of a file to which the
                                               client's core image
                                               should be dumped in
                                               the event the client
                                               crashes. The path is
                                               formatted as a character
                                               string consisting of
                                               characters from the NVT
                                               ASCII character set.
 
              mo     Path MTU      ASCII       Specifies the timeout (in
                     aging         integer     seconds) to use when aging
                     timeout                   Path MTU values discovered
                                               by the mechanism defined
                                               in RFC 1191.
 
              mp     Path MTU      ASCII       Specifies a table of
                     plateau       integer     MTU sizes to use when
                     table         list        performing Path MTU
                                               Discovery as defined in
                                               RFC 1191. The minimum
                                               value is 68.
 
              ms     Mask          0 or 1      A switch that specifies
                     supplier                  whether the client should
                                               respond to subnet mask
                                               requests using ICMP.
 
              mt     Interface     ASCII       Specifies the MTU to use
                     MTU           integer     on this interface.
 
              na     Nonanonymous  Boolean     Combine this symbol with
                     assignment                the nc symbol to specify
                                               that a nonanonymous
                                               address assignment is
                                               done from that network
                                               class.
 
 
        B-20 Defining DHCP Client Information Manually
 
 
 
 
 
                                Defining DHCP Client Information Manually
                                           B.1 DHCP Configuration Symbols
 
 
              Table_B-5_(Cont.)_BOOTP/DHCP_Configuration_File_Symbols____
 
                                   Value
              Symbol_Function______Format______Description_______________
 
              nn     NetBIOS over  ASCII       Specifies whether clients
                     TCP/IP node   string      can be configured as
                     type                      described in RFC 1001
                                               and 1002. The NetBIOS node
                                               type option allows NetBIOS
                                               over TCP/IP configurable
                                               clients to be configured
                                               as described in RFC 1001
                                               and 1002. Specify the
                                               value as a single octet
                                               (from 0 to 255) which
                                               identifies the client
                                               type.
 
              ns     IEN-116       IP address  Specifies a list of
                     name server   list        IEN 116 name servers
                     address list              available to the client.
                                               Enter servers in order of
                                               preference.
 
              nt     NTP servers   IP address  Specifies a list of NNTP
                                   list        (Network News Transfer
                                               Protocol) Servers.
 
              pf     Policy        IP address  Specifies policy filters
                     filter        list        for nonlocal source
                                               routing. The filters
                                               consist of a list of IP
                                               addresses and masks that
                                               specify destination/mask
                                               pairs with which to filter
                                               incoming source routes.
 
              rd     Perform       0 or 1      Specifies whether the
                     Router                    client should solicit
                     Discovery                 routers using the Router
                                               Discovery mechanism
                                               defined in RFC 1256.
 
 
                           Defining DHCP Client Information Manually B-21
 
 
 
 
 
        Defining DHCP Client Information Manually
        B.1 DHCP Configuration Symbols
 
 
              Table_B-5_(Cont.)_BOOTP/DHCP_Configuration_File_Symbols____
 
                                   Value
              Symbol_Function______Format______Description_______________
 
              rl     Resource      IP address  Specifies a list of RFC
                     Location      list        887 Resource Location
                     Protocol                  servers available to the
                     server                    client. Servers should
                     address                   be listed in order of
                     list                      preference.
 
              rp     Root path     ASCII       Specifies the path
                                   string      name that contains the
                                               client's root directory
                                               or partition. The path is
                                               formatted as a character
                                               string consisting of
                                               characters from the NVT
                                               ASCII character set.
 
              rs     Router        IP address  Specifies the address
                     solicitation              to which the client
                     address                   should transmit router
                                               solicitation requests.
 
              sa     Boot server   IP address  Specifies the IP address
                     address                   of the TFTP server the
                                               client uses.
 
              sc     NetBIOS over  ASCII       Specifies the NetBIOS
                     TCP/IP scope  string      over TCP/IP scope
                                               text parameter for the
                                               client as specified in
                                               RFC 1001/1002. There
                                               may be character-set
                                               restrictions.
 
 
 
 
 
 
 
 
        B-22 Defining DHCP Client Information Manually
 
 
 
 
 
                                Defining DHCP Client Information Manually
                                           B.1 DHCP Configuration Symbols
 
 
              Table_B-5_(Cont.)_BOOTP/DHCP_Configuration_File_Symbols____
 
                                   Value
              Symbol_Function______Format______Description_______________
 
              sl     All subnets   0 or 1      Specifies whether the
                     are local                 client can assume that
                                               all subnets of the IP
                                               network to which the
                                               client is connected use
                                               the same MTU as the subnet
                                               of that network to which
                                               the client is directly
                                               connected.
 
              sm     Subnet mask   IP address  Specifies the client's
                                               subnet mask as per RFC
                                               950. A Subnet mask allows
                                               the addition of subnetwork
                                               numbers to an address
                                               and provides more complex
                                               address assignments. If
                                               both the subnet mask and
                                               the router option are
                                               specified in a DHCP reply,
                                               the subnet mask option
                                               must be first.
 
              sr     Nonlocal      0 or 1      Specifies whether the
                     source                    client should configure
                     routing en-               its IP layer to allow
                     able/disable              forwarding of datagrams
                                               with nonlocal source
                                               routes.
 
 
 
 
 
 
 
 
 
 
 
                           Defining DHCP Client Information Manually B-23
 
 
 
 
 
        Defining DHCP Client Information Manually
        B.1 DHCP Configuration Symbols
 
 
              Table_B-5_(Cont.)_BOOTP/DHCP_Configuration_File_Symbols____
 
                                   Value
              Symbol_Function______Format______Description_______________
 
              st     Static route  IP address  Specifies a list of
                                   list        static routes that the
                                               client should install
                                               in its routing cache.
                                               If multiple routes to
                                               the same destination
                                               are specified, they are
                                               listed in descending order
                                               of priority. The routes
                                               consist of a list of IP
                                               address pairs. The first
                                               address is the destination
                                               address, and the second
                                               address is the router for
                                               the destination.
 
              sw     Swap server   IP address  Specifies the IP address
                                               of the client's swap
                                               server.
 
              te     Trailer en-   0 or 1      Specifies whether the
                     capsulation               client should negotiate
                                               the use of trailers (RFC
                                               893) when using the ARP
                                               protocol.
 
              tl     IP time-to-   ASCII       Specifies the default
                     live          string      time-to-live that the
                                               client should use on
                                               outgoing datagrams.
 
              tn     NetBIOS       IP address  Specifies a list of RFC
                     Datagram      list        1001/1002 NBDD servers
                     Dist Servers              listed in order of
                                               preference.
 
              to     Time offset   ASCII       Specifies the offset of
                                   integer or  the client's subnet in
                                   auto        seconds from Coordinated
                                               Universal Time (UTC).
 
        B-24 Defining DHCP Client Information Manually
 
 
 
 
 
                                Defining DHCP Client Information Manually
                                           B.1 DHCP Configuration Symbols
 
 
              Table_B-5_(Cont.)_BOOTP/DHCP_Configuration_File_Symbols____
 
                                   Value
              Symbol_Function______Format______Description_______________
 
              ts     Time server   IP address  Specifies a list of RFC
                     address list  list        868 time servers available
                                               to the client. Servers
                                               should be listed in order
                                               of preference.
 
              tt     TCP default   ASCII       Specifies the default
                     TTL           integer     time-to-live that the
                                               client should use when
                                               sending TCP segments.
 
              vm     Vendor's      ASCII       Specifies a vendor magic
                     magic cookie  string      cookie for the client.
                     selector
 
              xd     X Windows     IP address  Specifies a list of X
                     System font   list        Window system font servers
                     server                    available to the client.
                                               Enter addresses in order
                                               of preference.
 
              xf     X Windows     IP address  Specifies a list of IP
                     System        list        addresses of systems that
                     display                   are running the X Window
                     manager                   system display manager
                                               that are available to the
                                               client. Enter addresses in
              _________________________________order_of_preference.______
 
 
 
 
 
 
 
 
 
 
 
 
                           Defining DHCP Client Information Manually B-25
 

answer written or last revised on ( 29-JUN-2000 )

» close window