edit the file /etc/inet/hosts and change the IP number
edit the file /etc/defaultrouter and change the gateway
edit the file /etc/netmasks and change the netmask
As Timothy said, if you're using nis and/or dns, you should
also edit the following two files and update the info
nsswitch.conf and resolv.conf
Then reboot the server and have fun
> > I need to change the IP address, gateway, and network masks for new sun
> > ultras running solaris 2.6. i set these parameters when i loaded new
> > software or during initial installation. what command should i use just to
> > set these parameters? Thanks in advance for your assistance.
> man ifconfig
> man defaultrouter
> man netmasks
> if you are using a name service (NIS or DNS) you may also want to:
> man nsswitch.conf
> man resolv.conf