Solved

Need to set my gateway

Posted on 2004-04-07
3
896 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
[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
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: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say 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

Suggested Solutions

Title # Comments Views Activity
llcommand 6 100
UNiX Script filesystem space usage Part2 54 95
Sed question 2 125
Log File Creation with Header and Footer 17 161
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…
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 several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

730 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