Solved

How to connect to internet from Solaris 2.6?

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

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
LAN or WAN ? 11 66
unix in java example 9 43
site to site tunnel not autostarting 5 36
Best way to split and output to csv in bash 2 30
Meet the world's only “Transparent Cloud™” from Superb Internet Corporation. Now, you can experience firsthand a cloud platform that consistently outperforms Amazon Web Services (AWS), IBM’s Softlayer, and Microsoft’s Azure when it comes to CPU and …
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…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

747 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

13 Experts available now in Live!

Get 1:1 Help Now