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