Solved

How to connect to internet from Solaris 2.6?

Posted on 1998-10-09
4
298 Views
Last Modified: 2013-12-23
I have a workstation which is installed with Solaris 2.6 and it is connected to a IP network.
I can ping the gateway IP from my workstation, but everytime when I ping a IP which is not in our segment, it don't know go though the gateway to found the IP address.
Hoe can I do?
Please Help!
0
Comment
Question by:joey333
  • 2
  • 2
4 Comments
 
LVL 5

Accepted Solution

by:
tfabian earned 50 total points
ID: 1582419
look at your subnet mask.. if it's wrong, you wouldn't get any traffic through the gateway..

check the man pages on "ifconfig" to determine how to set the subnet mask..

chances are you should be using 255.255.255.0


good luck,


   
0
 

Author Comment

by:joey333
ID: 1582420
Then How to set the gateway IP configuration from Solaris 2.6?

0
 
LVL 5

Expert Comment

by:tfabian
ID: 1582421
for setting the netmask, it would be something like


   ifconfig -a netmask

when netmask  breaks out and relies on /etc/netmasks to contain the masks you want for your networks..


see the man pages for netmasks and ifconfig

for changing the gateway(s), use the route command to add or delete active gateways..

use   netstat -r  to deteremine current gateways in use..

see man pages for  route and netstat for complete descriptions of the commands..



eg
    128.32.0.0   255.255.255.0

would use the 255.255.255.0 mask on the 128.32 network..




0
 

Author Comment

by:joey333
ID: 1582422
Thankyou very much!
Could you give me your email address? Please, I'm a child in UNIX system.
my email is joey333@hotmail.com
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

#Citrix #Citrix Netscaler #HTTP Compression #Load Balance
If your business is like most, chances are you still need to maintain a fax infrastructure for your staff. It’s hard to believe that a communication technology that was thriving in the mid-80s could still be an essential part of your team’s modern I…
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…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

895 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