Solved

How to connect to internet from Solaris 2.6?

Posted on 1998-10-09
4
303 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
[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
  • 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

Secure Your WordPress Site: 5 Essential Approaches

WordPress is the web's most popular CMS, but its dominance also makes it a target for attackers. Our eBook will show you how to:

Prevent costly exploits of core and plugin vulnerabilities
Repel automated attacks
Lock down your dashboard, secure your code, and protect your users

Question has a verified solution.

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

Short answer to this question: there is no effective WiFi manager in iOS devices as seen in Windows WiFi or Macbook OSx WiFi management, but this article will try and provide some amicable solutions to better suite your needs.
This article will inform Clients about common and important expectations from the freelancers (Experts) who are looking at your Gig.
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…

717 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