Solved

Need to set my gateway

Posted on 2004-04-07
3
893 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
ID: 10780868
Edit /etc/defaultrouter and add
192.168.1.1
0
 
LVL 18

Accepted Solution

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

Author Comment

by:roduno
ID: 10789069
Thanks!
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

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…
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 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.:
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

920 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

14 Experts available now in Live!

Get 1:1 Help Now