How to assign a Default Gateway ?

Hi everybody, please show me how to assign default gateway to my networking interface.Example: my IP: 192.168.1.45default gateway: 192.168.1.12thanks alot !!!
[186 byte] By [vantuana] at [2007-11-27 0:56:19]
# 1
route add default 192.168.1.12to make it persistent across reboots, type:echo 192.168.1.12 > /etc/defaultrouter .7/M.
mAbrantea at 2007-7-11 23:29:25 > top of Java-index,Solaris Operating System,Solaris 10 Features...
# 2
make entry in /etc/defaultrouter. If the defaultrouter file does exist in the /etc then touch it to create empty file. Another way is # route add default <router ip>
1293559a at 2007-7-11 23:29:25 > top of Java-index,Solaris Operating System,Solaris 10 Features...
# 3
Thanks !!! I had done it well.
vantuana at 2007-7-11 23:29:25 > top of Java-index,Solaris Operating System,Solaris 10 Features...
# 4
Enter the following command# route add default [IpaddressofRouter]
rsola at 2007-7-11 23:29:25 > top of Java-index,Solaris Operating System,Solaris 10 Features...