Sun Open Telecommunications Platform 1.1 Installation and Administration Guide

ProcedureTo Create the DHCP Relay for Deploying to New OTP Hosts On Different Subnets

If you are going to deploy the Solaris 10 Update 2 to new OTP hosts on a different subnet using the OTP system management service, you must set up a DHCP relay on each subnet as described in this procedure before you can discover and subsequently deploy the OS to the hosts.

The examples in the following procedure assume:

  1. Log in as root to a Solaris OS SPARC server on the 10.1.30 subnet.

    The server must not be a standalone OTP host or a clustered OTP host.

  2. Type the ps -ef | grep dhcp to verify that the DHCP service has started.


    # ps -ef | grep dhcp
    oot 24992     1   0 18:20:53 ?           0:00 /usr/lib/inet/in.dhcpd
    
  3. Type dhcpconfig -R production OTP hostIP address,otpclient1 IP address ..., otpclientn IP address.

    For example:


    # dhcpconfig -R 10.1.15.1,10.1.30.5, 10.1.30.6,10.1.30.7,10.1.30.8,\
    10.1.30.9,10.1.30.10,10.1.30.11,10.1.30.12
    
  4. Log in as root to the OTP master server.

  5. Type /opt/sun/n1gc/bin/n1sh to open the OTP command shell.


    # /opt/sun/n1gc/bin/n1sh
    N1-OK>
  6. Set up the OTP DHCP service.

    In the OTP command shell, type create dhcpconfig DHCP configuration name network IP address of base network netmask netmask value defaultgw gateway IP address domain domain name where:

    • DHCP configuration name is the name you assign to the OTP DHCP configuration

    • IP address of base network is the base address of the target subnet

    • netmask value is the netmask value of the target subnet

    • gateway IP address is the IP address of the target subnet gateway

    • domain name is your corporate domain name

    For example:


    N1-ok> create dhcpconfig test network 10.11.55.0 netmask 255.255.255.0 
    defaultgw 10.11.55.1 domain mycompany.com
    

    Note –

    The above example was split into two lines to fit on the page. When typing the create dhcpconfig command, type the full command as a single line.


Next Steps

Prepare and deploy the OS as described in the next section.