Configure Static IP for OpenSolaris

Follow step below:

  1. svcadm disable network/physical:nwam (Execute in terminal)
  2. svcadm enable network/physical:default (Execute in terminal)
  3. cp /etc/nsswitch.dns /etc/nsswitch.conf
  4. Put DNS in /etc/resolv.conf ( eg: nameserver
  5. Put the default router(gateway) ip into /etc/defaultrouter (eg:
  6. If your Ethernet interface name is rtls0, create /etc/hostname.rtls0, and put two lines as below:
    eg: line 1: (the static IP you want)
    line 2: netmask broadcast + up
  7. Restart Machine



Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.