I'm a Solaris newb but this may work (happy to be corrected):
Code:
# unconfigure and remove any dhcp info
ifconfig net0 unplumb
rm -f /etc/dhcp.*
ifconfig net0 plumb
# set IP
cat << EOF > /etc/hostname.net0
192.168.200.100/24 broadcast up
EOF
# add subnet to known networks
cat << EOF >> /etc/netmasks
192.168.200.0 255.255.255.0
EOF
# set default gateway
echo "192.168.200.105" > /etc/defaultrouter
You'll need to this from the console not via ssh