OpenSolaris Static IP

  1. Modify /etc/nwam/llp iface static IPADDRESS/SUBNETBITCOUNT Example: e1000g0 static 192.168.1.2/24
  2. Update DNS servers if needed in /etc/resolv.conf
  3. Setup server to use DNS servers:
    cp nsswitch.conf nsswitch.conf.original
    cp nsswitch.dns nsswitch.conf
    svcadm restart svc:/network/dns/client:default
  4. svcadm restart svc:/network/physical:nwam
  5. Setup default route by creating the file /etc/defaultrouter with the entry of the subnet’s gateway.
  6. Then execute: pfexec svcadm restart network/routing-setup

Not adhering to these steps has resulted in my test box just booting to a bash environment without a functional network stack.

(Thanks for originally posting these Malachi)

This entry was posted in Linux. Bookmark the permalink.

Leave a Reply