Solved

Need to set my gateway

Posted on 2004-04-07
3
895 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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

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…
A metadevice consists of one or more devices (slices). It can be expanded by adding slices. Then, it can be grown to fill a larger space while the file system is in use. However, not all UNIX file systems (UFS) can be expanded this way. The conca…
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…

789 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