Solved

How to connect to internet from Solaris 2.6?

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

NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

Question has a verified solution.

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

Suggested Solutions

Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
If you're not part of the solution, you're part of the problem.   Tips on how to secure IoT devices, even the dumbest ones, so they can't be used as part of a DDoS botnet.  Use PRTG Network Monitor as one of the building blocks, to detect unusual…
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…
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…

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