?
Solved

Setup routing to ISP in Solaris 2.4

Posted on 1997-06-29
3
Medium Priority
?
284 Views
Last Modified: 2013-12-23
Question: I just install a brand new SunSparc 5 running
with Solaris 2.4 into my LAN which is connected
to an ISP through a router. I would like to know how
to configure the SunSparc Station routing table so
that my Solaris can reach any hosts on the Net.
Following is my machine/ISP info.:

1. My ISP's DNS Server IP address. (eg. 210.23.1.1)
2. My router IP address. (eg. 210.23.85.254)
3. My domain name. (eg. abc.com)
4. My hostname. (eg. solaris24)

Please kindly provide a guidline (I know that it's a
easy task for configuring this in Windows 95).
Many thanks !!!
0
Comment
Question by:chengwid
[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
3 Comments
 

Accepted Solution

by:
vkg063097 earned 240 total points
ID: 1582181
 To access the internet you have to modify to files, one for name server and other for routing.
For name server edit /etc/resolv.conf and add following two lines.
            domain       abc.com
            nameserver 210.23.1.1
For routing edit /etc/defaultrouter and add IP address of your router
            210.23.85.254
Now reboot the machine.
Check routing table by *netstat -rn* command. It should should
show default line pointing to your router 210.23.85.254.
You can add route manully by
      route add default 210.23.85.254 1You
For name server just try a nslookup like
      nslookup www.sun.com
You should get the IP address of SUN site with server as 210.23.1.1

Have fun.


vinay


0
 

Author Comment

by:chengwid
ID: 1582182
Hi Vkg,

Your answer works fine for me as long as I use nslookup command.
However, if I want to use "ping" command instead, how
can I do that ? Would you please advise for that ?
Many thanks !!!
0
 

Expert Comment

by:vkg063097
ID: 1582183
Hello,
      If nslookup is working then by default all the utility
which want name to ip conversion should work.
OK, let me bor more clear,
what happen when you say
            ping -s www.sun.com       ???
Does it resolv ip number of SUN site and say ICMP host unreachable fromgateway ......, If this is the case then you
may be behind a firewall.
   One more thing you may have to check and modify the /etc/nsswitch.conf file. Check the line starting with hosts
and add dns there
   hosts:   files dns
Just play around with the order of dns and files..
Let me know the result...

vinay
0

Featured Post

Portable, direct connect server access

The ATEN CV211 connects a laptop directly to any server allowing you instant access to perform data maintenance and local operations, for quick troubleshooting, updating, service and repair.

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.
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…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …
Suggested Courses

719 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