How can I change the default gateway?

my actual default gatewas IP is:

default 192.168.11.254

and I need to change it to 192.168.11.2, I'm using Solaris 9, how can i do it? and how i can save it in case that the machine restart and have the new default gateway IP saved?

there is a file called /etc/defaultrouter where your system looks on a boot for your gateway.
man defaultrouter

gP

If I change the default gateway IP in /etc/defaultroute may I have to restart the server to make effect the change?

And to change on the fly for the running system

route delete default 192.168.11.254
route add default 192.168.11.2

Have a quick look in your other thread!!

I have merged the threads.