This post from the Things I need to remember… blog describes how to configure a static on in OpenIndiana.
1. Disable the auto-magic network daemon
#svcadm disable physical:nwam
2. Define in /etc/hosts, if not already, an entry for this host.
For example: hostname hostname.local localhost loghost
3. Enable the default physical service with svcadm and configure the interface:
#svcadm enable physical:default
4. Configure interface with ipadm
# ipadm create-addr -T static -a local= bge0/v4static
4.1 If you do not know what the interface name is bge0 in this case type in #kstat -c net | grep net and look for hme0, bge0, e1000g0 or soemthing that resembles the driver in use.
5.add gateway
#route -p add default or
#sudo nano /etc/defaultrouter enter in your gateway
6. set dnsserver
#sudo nano /etc/resolv.conf enter in the DNS server IP/s
7. set the workgroup
#sudo smbadm join -w workgroupname
8. Restart
Note: If you cannot ping run this command and try again.
#sudo cp /etc/nsswitch.dns /etc/nsswitch.conf
Original post: