Solved

Need to set my gateway

Posted on 2004-04-07
3
892 Views
Last Modified: 2013-12-27
I am running a Sun Server with Solaris 8 and I can't see it from outside of my lan.  When I ping the host from the server I get the following message:  ICMP Host Unreachable from gateway ms1 (192.168.1.6)
 for icmp from ms1 (192.168.1.6) to 24.160.90.200.  My server's IP is 192.168.1.6 behind the router.  The Gateway IP is the router's IP which is 192.168.1.1.  How can I set the gateway to that so that the outside world can communicate with my server?

0
Comment
Question by:roduno
3 Comments
 
LVL 48

Expert Comment

by:Tintin
Comment Utility
Edit /etc/defaultrouter and add
192.168.1.1
0
 
LVL 18

Accepted Solution

by:
liddler earned 250 total points
Comment Utility
that will do it for a reboot, to do it immeadiately type:
route add default 192.168.1.1
0
 

Author Comment

by:roduno
Comment Utility
Thanks!
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

When you do backups in the Solaris Operating System, the file system must be inactive. Otherwise, the output may be inconsistent. A file system is inactive when it's unmounted or it's write-locked by the operating system. Although the fssnap utility…
My previous tech tip, Installing the Solaris OS From the Flash Archive On a Tape (http://www.experts-exchange.com/articles/OS/Unix/Solaris/Installing-the-Solaris-OS-From-the-Flash-Archive-on-a-Tape.html), discussed installing the Solaris Operating S…
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.:

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

19 Experts available now in Live!

Get 1:1 Help Now