Solved

How to connect to internet from Solaris 2.6?

Posted on 1998-10-09
4
299 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

Suggested Solutions

Title # Comments Views Activity
How DHCP Works in Wired/Wireless network 21 144
Looking for open port with Telnet 5 60
eigrp routing loop 5 42
No Wireless Networks Visible In Windows 10 7 52
Data center, now-a-days, is referred as the home of all the advanced technologies. In-fact, most of the businesses are now establishing their entire organizational structure around the IT capabilities.
When it comes to security, there are always trade-offs between security and convenience/ease of administration. This article examines some of the main pros and cons of using key authentication vs password authentication for hosting an SFTP server.
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…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

777 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