Go to main content

SPARC S7-2 Server Installation Guide

Exit Print View

Updated: June 2017
 
 

Assign a Static IP Address to the NET MGT Port

If you plan to connect to the SP through its NET MGT port, the SP must have a valid IP address.

By default, the server is configured to obtain an IP address from DHCP services in your network. If the network your server is connected to does not support DHCP for IP addressing, perform this procedure.


Note -  To configure the server to support DHCP, refer to the Oracle ILOM documentation.
  1. Set the SP to accept a static IP address.
    ->set /SP/network pendingipdiscovery=static 
    Set 'pendingipdiscovery' to 'static' 
    
  2. Set the IP address for the SP.
    1. To change the default IPv4 DHCP property and set property values for a static IPv4 address, type:
      ->set /SP/network pendingipaddress=IPv4-address
      Set 'pendingipaddress' to 'IPv4-address' 
      
    2. To change the default IPv6 DHCP property and set property values for a static IPv6 address, type:
    ->set /SP/network/ipv6 pending_static_ipaddress=IPv6-IP-address
    Set 'pendingipaddress' to 'IPv6-IP-address' 
    
  3. Commit the changes to the IP address.
    -> set /SP/network commitpending=true
    Set 'commitpending' to 'true' 
    
  4. Set the netmask for the SP.
    -> set /SP/network pendingipnetmask=255.255.255.0 
    Set 'pendingipnetmask' to '255.255.255.0' 
    

    This example uses 255.255.255.0 to set the netmask. Your network environment subnet might require a different netmask. Use a netmask number most appropriate to your environment.

  5. Verify that the parameters were set correctly.

    This example shows parameters that have been set to convert a SP from a DHCP configuration to a static configuration.

    -> show /SP/network -display properties
      /SP/network 
         Targets: 
         Properties: 
            commitpending = (Cannot show property)
            dhcp_clientid = xxx.xxx.xxx.xxx
            dhcp_server_ip = xxx.xxx.xxx.xxx
           ipaddress = xxx.xxx.xxx.xxx
           ipdiscovery = dhcp
           ipgateway = xxx.xxx.xxx.xxx 
           ipnetmask = 255.255.255.0
           macaddress = xx:xx:xx:xx:xx:xx
           managementport = MGMT
           outofbandmacaddress = xx:xx:xx:xx:xx:xx
           pendingipaddress = service-processor-IPaddr
           pendingipdiscovery = static
           pendingipgateway = gateway-IPaddr
           pendingipnetmask = 255.255.255.0
           pendingmanagementport = MGMT
           sidebandmacaddress = xx:xx:xx:xx:xx:xx
           state = enabled
    ->
    
  6. Set the changes to the SP network parameters.
    -> set /SP/network commitpending=true 
    Set 'commitpending' to 'true' 
    

    Note -  You can type the show /SP/network command again to verify that the parameters have been updated.
  7. Set the static IP address when you configure the Oracle Solaris OS.

    See Configure the Preinstalled Oracle Solaris OS.

Related Information