How to change Default Gateway/Default Router in Sun Solaris

The Default Gateway or the Default Router is the IP address (IPv4) to which all the traffic to any target destination(s) which does not have a route in the Routing Table of the server will be forwarded. This Default Gateway is maintained in the file /etc/defaultrouter [IPv4 only]