Solved

Don't have defaultrouter file

Posted on 2004-04-03
2
407 Views
Last Modified: 2013-12-27
How do I changed the default router in my Solaris 8 Sun Box?  I have been troubleshooting the server because I cannot see it from outside the LAN and I am told that I need to set the defaultrouter in my /etc file to the router's IP 192.168.1.1.  Well I don't have a defaultrouter file in the /etc directory.  Can I create it from a text file and ftp it in or do I need to create it in the box.  I don't have a clue on how to manually edit a file in Solaris.  I tried VI and it locked up on me.  Any suggestions would be much appreciated.
0
Comment
Question by:roduno
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 40

Accepted Solution

by:
jlevie earned 250 total points
ID: 10749196
You won't have a defaultrouter file unless you create it with any any text editor or by executing:

echo "192.168.1.1" >/etc/defaultrouter
0
 

Author Comment

by:roduno
ID: 10749446
That did it.  Thanks!
0

Featured Post

Transaction Monitoring Vs. Real User Monitoring

Synthetic Transaction Monitoring Vs. Real User Monitoring: When To Use Each Approach? In this article, we will discuss two major monitoring approaches: Synthetic Transaction and Real User Monitoring.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Let's say you need to move the data of a file system from one partition to another. This generally involves dismounting the file system, backing it up to tapes, and restoring it to a new partition. You may also copy the file system from one place to…
I have been running these systems for a few years now and I am just very happy with them.   I just wanted to share the manual that I have created for upgrades and other things.  Oooh yes! FreeBSD makes me happy (as a server), no maintenance and I al…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question