System Administration Guide, Volume 3

How to Set Up Support for Registered BOOTP Clients (Command Line)

  1. Log in to the system as root or become superuser, and type the following:


    # /usr/sbin/dhcpconfig
    

    The text-based DHCP Configuration menu is displayed.

  2. Type 1 and press Return to select Configure DHCP Service.

  3. Answer the following prompts as shown to skip to the BOOTP compatibility options.

    If no user input is indicated, press Return to accept the default.


    Would you like to stop the DHCP service? (recommended) ([Y]/N)Y
    Enter datastore (files or nisplus) [files]: 
    Enter absolute path to datastore directory [/var/dhcp]:
    Would you like to specify nondefault daemon options (Y/[N]):
    Would you like to specify nondefault server options (Y/[N]):Y
    How long (in seconds) should the DHCP server keep outstanding OFFERs? [10]:
    How often (in minutes) should the DHCP server rescan the dhcptab? [Never]:
  4. Answer the BOOTP prompts as follows:


    Do you want to enable BOOTP compatibility mode? (Y/[N]):Y
    Do you want the server to allocate IP addresses to new BOOTP clients? ([Y]/N):N
    

    Type N to prevent unregistered BOOTP clients from obtaining IP addresses. This is analogous to DHCP Manager's "manual" option.


    The dhcptab table already exists.
    Do you want to merge initialization data with the existing table? (Y/[N]):N
    Enable DHCP/BOOTP support of networks you select? ([Y]/N):N
    

    Typing N here avoids prompts for adding networks to the DHCP service.


    Would you like to restart the DHCP service? (recommended) ([Y]/N):Y
    
  5. Type 4 and press Return to exit dhcpconfig.

  6. Modify or add addresses and reserve them for use by specific BOOTP clients by typing a command using one of the following formats:

    1. To modify an existing address for BOOTP:


      # pntadm -M ip-address -i client-id -f BOOTP -e -1 -m macro-name network-ip-address
      

      For example, to modify the address 172.21.20.33, assign it to a client whose Ethernet hardware address is 8:0:20:89:a1:d2 and set the BOOTP flag, type the following:


      # pntadm -M 172.21.20.33 -i 0108002089A1D2 -f BOOTP
      
    2. To add a new BOOTP address:


      # pntadm -A ip-address -i client-id -f BOOTP -m macro-name network-ip-address
      

      For example, to add the address 172.21.20.34, assign it to a client whose Ethernet hardware address is 8:0:20:89:a1:d2, set the BOOTP flag, and to have the client receive the contents of the blue2 macro, type the following:


      pntadm -A 172.21.20.34 -i 0108002089A1D2 -f BOOTP -m blue2 172.21.0.0
      

    You should reserve one BOOTP address for each BOOTP client on the network.