Solved

What is /etc/defaultrouter file in Solaris 10?

Posted on 2009-04-04
4
1,292 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
[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
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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Java performance on Solaris - Managing CPUs There are various resource controls in operating system which directly/indirectly influence the performance of application. one of the most important resource controls is "CPU".   In a multithreaded…
FreeBSD on EC2 FreeBSD (https://www.freebsd.org) is a robust Unix-like operating system that has been around for many years. FreeBSD is available on Amazon EC2 through Amazon Machine Images (AMIs) provided by FreeBSD developer and security office…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
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.:

752 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