System Administration Guide: IP ServicesThis book is for anyone responsible for administering TCP/IP network services for systems that run Oracle Solaris. Solaris - view routing table and add route. Print · Email. To view IP address of the default gateway (What's your guess?) network . SIOCADDRT: File exists. Search. Solaris Configuring netmasks and default gateway in zones Modifying /etc/netmask file resident within the designated zone does not configure the. Check the file /etc/adopteesofcolor.org0, the configured IP address could be in there. By default the hostname is listed in that file and the name is. This Default Gateway is maintained in the file Previous Post: HowTo: Change IP Address in Solaris 10 without reboot. Next Post: HowTo: Add. Adding static and dynamic routes in solaris. Examples of adding static routes in Solaris method will not work in solaris 8 and 9, also in some older patch versions of solaris We can also use the /etc/gateways file to add static routes. Setting the default route on Solaris is easy. persisted when you reboot the system, you will need to set the route in the /etc/defaultrouter file. Note that Solaris 10 includes “zones” that can also configure this same behavior. If the file /etc/tsolgateways (which is maintained manually by the administrator) exists, then the gateways in the file serve as the host's defaults. If, however. Because the /etc/defaultrouter file is deprecated in Oracle Solaris 11, you can no longer Routing Table: IPv4 Destination Gateway Flags Ref Use Interface. If you wish to add or edit the Default Gateway or the Default Router in Sun Solaris , edit /etc/defaultrouter file and update the IP Address.