How to assign a static IP to the Solaris 10 bax

Posted on 2009-12-23
Last Modified: 2013-12-27
  I have a Solaris 10 on x86 Box. Right now it is getting IP from DHCP. I want to assign the static IP address. This box is inside my home network. Can you help me with the step by step process.
This solaris is installed on esxi vmware.

Thank you.

Question by:developer777
    LVL 27

    Expert Comment

    depending on further configuration a sys-unconfig can help:

    change the network card to bridged in vmware
    LVL 40

    Accepted Solution

    In /etc dir look for file like

    /etc/dhcp.interface (e.g. dhcp.hme0)

    To stop your system from using DHCP, remove this file or rename it.

    For static ip you need a file in /etc dir like

    /etc/hostname.interface (e.g. hostname.hme0)

    this file contains hostname of the server or hostname for that ip address and should be in /etc/hosts file (mapped to an ip address)

    you may need to set dns as well in /etc/resolv.conf

    and default gateway in /etc/defaultrouter

    Featured Post

    Maximize Your Threat Intelligence Reporting

    Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

    Join & Write a Comment

    Suggested Solutions

    Using a software based iSCSI solution, there is no requirement to purchase an hardware iSCSI initiator or TOE (TCP/IP Offload Engine) interface card. A standard network interface card, can be used to connect and existing ESXi server to a remote iSCS…
    Exchange server is not supported in any cloud-hosted platform (other than Azure with Azure Premium Storage).
    Teach the user how to install and configure the vCenter Orchestrator virtual appliance Open vSphere Web Client: Deploy vCenter Orchestrator virtual appliance OVA file: Verify vCenter Orchestrator virtual appliance boots successfully: Connect to the …
    This video shows you how easy it is to boot from ISO images for virtual machines with the ISO images stored on a local datastore on the ESXi host.

    745 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    14 Experts available now in Live!

    Get 1:1 Help Now