Solved

Need to set my gateway

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

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Unix / Linux grid computing 5 155
How to Insert a File Using Text Editor 9 86
Solaris 4.1.3 cloning and booting 13 75
SCP a file to multiple machines using a script 4 43
Attention: This article will no longer be maintained. If you have any questions, please feel free to mail me. jgh@FreeBSD.org Please see http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-update-server/ for the updated article. It is avail…
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 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…
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.

816 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

12 Experts available now in Live!

Get 1:1 Help Now