This approach has been deprecated with the improved Solaris 11 toolset finding its way into OpenIndiana. Please consider using nwamcfg / nwamadm as described on a separate page!
If you have the GUI installed you can use the nwam-manager-properties tool to configure your network.
First you need to make sure your "admin" user is in the Primary Admin role
# usermod -P "Primary Administrator" <username>
Then when you login to the desktop you can edit the network preferences by clicking on the ethernet icon in the top right.
Once there make a new network profile and add all the NICs you want and save the profile.
Now in the Show drop down select each NIC for the profile you just created and pick either DHCP or Static and configure away.
Here are the Oracle Admin pages on this: Configuring IP Interfaces
Changing to a static IP is a common question and needs a better answer than this, but for now, as a quick helper to anyone trying to get this working
Warning! This commands will first disable your network interface , if you are doing this,)
you better be on the console and not on remote (ssh) connection or you will be locked out of machine.
Use scripted commands in line,that bring interface Up (svcadm enable) right after bringing it down
or stay with NWAM untill you get local console access.
My notes on static ip (not using NWAM) under OI from the default DHCP
# svcadm disable network/physical:nwam
Update /etc/resolv.conf WITH DNS
# cp /etc/nsswitch.dns /etc/nsswitch.conf
Update /etc/defaultrouter with GATEWAY
# route -p add default GATEWAY
Note: if you had already enabled network/physical:default using svcadm, you need to first:
svcadm disable and then set up route manually.
svcadm disable network/physical:default wont remove network setup
I had to # ifconfig rge0 down / up at this point to allow the network service to start.
# svcadm enable network/physical:default
# ipadm create-addr -T static -a HOSTNAME/24 LINK_NAME
Note: if you complete the configuration and it still seems that you cannot connect (maybe even to hosts on the same subnet), then a restrictively IPFilter may be blocking your attempts. As a quick test, try: svcadm disable network/ipfilter and then try your ping or traceroute agian.