• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 779
  • Last Modified:

Edit routing table in Solaris 10

Hey all,
I need to make permanent changes to the routing table on a Soalris 10 box. How would I do that? Right now it has my workstation listed as a gateway which is incorrect. I believe this is preventing me from getting out to the Internet.
0
goddessofcode
Asked:
goddessofcode
  • 2
3 Solutions
 
Brian UtterbackPrinciple Software EngineerCommented:
You can add and delete routes with the "route" command. See the man page for instructions.

Otherwise, Solaris uses RIP and router discovery to find routers. In general this is better than using static routes. What is the output of "netstat -rn"?
0
 
goddessofcodeAuthor Commented:
I found the problem. I had to add dns to nsswitch for hosts.
0
 
goddessofcodeAuthor Commented:
Also to make a permanent change I had to add the IP to /etc/defaultrouter. Using the route command will not make a permanent change, it will be gone after a reboot.
0

Featured Post

Restore individual SQL databases with ease

Veeam Explorer for Microsoft SQL Server delivers an easy-to-use, wizard-driven interface for restoring your databases from a backup. No expert SQL background required. Web interface provides a complete view of all available SQL databases to simplify the recovery of lost database

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now