Solved

What is /etc/defaultrouter file in Solaris 10?

Posted on 2009-04-04
4
1,266 Views
Last Modified: 2013-12-27
I tried adding new gateway to my system.. using this way

#route add default 192.168.0.1
#echo "192.168.0.1" > /etc/defaultrouter

My network connectivity was not working, the moment I did 'rm /etc/defaultrouter' my network connectivity works well and fine, Would really appreciate if someone can explain me what is happening beneath and what is the use of /etc/defaultrouter. Thanks!
0
Comment
Question by:beer9
4 Comments
 
LVL 48

Accepted Solution

by:
Tintin earned 50 total points
ID: 24070356
/etc/defaultrouter  is the file you set the IP address of your default gateway.  If network connectivity wasn't working when you had it, then you must of used the wrong IP address.
0
 
LVL 40

Assisted Solution

by:omarfarid
omarfarid earned 25 total points
ID: 24070693
Can you describe in more details what you had in it before removing it and what is the output of

ifconfig -a
netstat -rn

Are you using static IP address for your network interface or DHCP?
0
 
LVL 4

Assisted Solution

by:joules17
joules17 earned 50 total points
ID: 24074872
also when you  added the /etc/defaultrouter,
try and ping the address 192.168.0.1 and see if it is pingable.
0
 

Author Closing Comment

by:beer9
ID: 31566700
Thanks! :-)
0

Featured Post

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

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…
Installing FreeBSD… FreeBSD is a darling of an operating system. The stability and usability make it a clear choice for servers and desktops (for the cunning). Savvy?  The Ports collection makes available every popular FOSS application and packag…
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.

744 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now