Solaris DHCP Administration Guide

How to Configure Remote Networks (Interactive dhcpconfig)

  1. Become superuser on the DHCP server system.

  2. Type the following command:


    # /usr/sbin/dhcpconfig
    

    The text-based DHCP Configuration menu is displayed.

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

  4. Answer the following prompts as shown to configure a remote network.


    Enable DHCP/BOOTP support of networks you select? ([Y]/N):Y
    Configure BOOTP/DHCP on local LAN network: 102.21.0.0? ([Y]/N):N
    Would you like to configure BOOTP/DHCP service on remote networks? ([Y]/N):Y
    Enter Network Address of remote network, or <RETURN> if finished: 

    Type the IP address of the network you want to configure for DHCP. Remember that the network address uses 0 for the host portion of the IP address.


    Do clients access this remote network via LAN or PPP connection? ([L]/P): 

    Indicate whether the network is a local area network (LAN) or a point-to-point protocol network (PPP) by typing L or P.


    Do you want hostnames generated and inserted in the files hosts table? (Y/[N]):

    The server can create host names for each IP address and create entries in the /etc/inet/hosts file or NIS+ hosts table. See Client Host Name Generation.


    Enter Router (From client's perspective), or <RETURN> if finished.
    IP address:

    Type the IP address of the router(s) the clients on this network should use. Note that you cannot specify that clients should use router discovery here.


    Enter starting IP address [102.21.0.0]

    Type the first IP address in the range of addresses you want to place under DHCP management. The default value is the network address.


    Enter the number of clients you want to add (x < 65535):

    Type the number of IP addresses you want to place under DHCP management. The dhcpconfig utility uses this number and the starting IP address you entered previously to determine a block of IP addresses to place under DHCP control. The number you enter must be less than the value shown in the prompt, which is generated based on the netmask. In this example, the number must be less than 65535.


    dhcptab macro "102.21.0.0" already exists.
    Do you want to merge initialization data with the existing 
    macro? ([Y]/N):

    If you have already configured this network, this message is displayed. You should merge the data into the existing macro only if the information you provided applies to all clients on the network you are adding.


    Disable (ping) verification of 102.21.0.0 address(es)? (Y/[N]):

    The dhcpconfig utility pings the addresses you want to add to be sure they are not being used, and skips any addresses that are in use. If you type Y at this prompt, dhcpconfig does not ping the addresses.


    Network: 102.21.0.0 complete.
    Enter Network Address of remote network, or <RETURN> if finished:

    If you want to configure another remote network, enter the network address and answer the prompts for the network. When you have no other remote networks to configure, press Return at this prompt.