Go to main content
Sun Rack II Power Distribution Units User's Guide

Exit Print View

Updated: December 2016
 
 

Configure an Oracle Solaris System for a Point-to-Point Connection

  1. As superuser, use the dladm command to find an unused Ethernet interface.

    In the following example, the dladm command lists two Gigabit Ethernet interfaces (ce0 and ce1) and the ifconfig command shows that only the ce0 interface is being used. Refer to the dladm(1M) and ifconfig(1M) man pages for more information.

    # dladm show-link
    ce0             type: legacy    mtu: 1500       device: ce0
    ce1             type: legacy    mtu: 1500       device: ce1
    # ifconfig -a
     lo0: flags=2001000849 <UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1
    inet 127.0.0.1 netmask ff000000
     ce0: flags=1000843 <UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
     inet 192.168.84.253 netmask ffffff00 broadcast 192.168.84.255
     ether 0:3:ba:7:84:5e
    
  2. Use the ifconfig command to plumb the unused network interface.
    # ifconfig interface plumb up
    

    Replace interface with the network interface device (for example, ce0, hme0, qfe1, and so on). For example, to plumb an unused ce1 interface, type:

    #ifconfig ce1 plumb up
    
  3. Use the ifconfig command to assign an IPv4 address and netmask to the interface.
    # ifconfig interface IPv4-address netmask + netmaskbroadcast broadcastup
    

    Replace:

    • interface with the network interface device
    • IPv4-address with an address between 192.168.0.2 and 192.168.0.255
    • netmask with 255.255.255.0
    • broadcast with 192.168.0.255

      For example:

      # ifconfig ce1 192.168.0.5 netmask + 255.255.255.0 broadcast 192.168.0.255 up
      

      Note -  Network interfaces explicitly configured using the ifconfig command do not persist across system reboots. If you prefer, refer to the Oracle Solaris documentation for information about setting a static IP address permanently.
  4. Connect the PDU to the network.

    See Connect an Original PDU to a Static IP Address Network.