Solved

No Internet connection

Posted on 2000-03-05
2
198 Views
Last Modified: 2013-12-23
I have a Solaris 2.7 machine connected to the Internet through a switch and a firewall. I configured the hosts,defaultrouter and netmasks files.
There is no connection nor ping to the default router (the firewall). I have the feeling the problem is in the Solaris configuration since on the same network a PC with similar IP configuration has connection.
Another fact to consider is that I switched the firewall machines several times and maybe the change of the MAC address is causing trouble.
Are there any default long ARP timeouts
in Solaris, a file where I can see if the NIC is configured correctly (speed,duplex) or any idea of the sort?
Thanks.
0
Comment
Question by:gillby
2 Comments
 
LVL 40

Accepted Solution

by:
jlevie earned 50 total points
Comment Utility
If you tried to set up the Solaris system's IP and host name just by modifying the hosts file, you haven't in fact set it up properly. There are some 6 or so files involved. You can tell what IP the system is using (and if networking is in fact configured) by looking at the output of "ifconfig -a". It'll show the IP/netmask bound to your ethernet adapter. You can check for a proper default route from the output of "netstat -rn".

If the IP shown in the ifconfig output isn't what you think it should be (or if no ethernet device is listed), the least painful solution is to run "sys-unconfig" and reboot. When the system comes up it'll ask the relevant questions about hostname, IP, netmask, etc. and correctly set up networking. Check the /etc/defaultrouter file as I don't remember if it gets deleted by sys-unconfig. I know that the DNS config (/etc/resolv.conf & /etc/nsswitch.conf) need to be re-done after a sys-unconfig.

NIC speed/duplex shouldn't be an issue unless you are connecting to an 10/100 auto-speed switch that doesn't correctly negotiate with Solaris. I can tell you how to check and/or fix it, but I've got to know what your ethernet device is (hme, le, qfe, etc) and what switch you're using.

0
 

Author Comment

by:gillby
Comment Utility
Thanks, but the problem was solved.
0

Featured Post

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

Some time ago I was asked to set up a web portal PC to put at our entrance. When customers arrive, they could see a webpage 'promoting' our company. So I tried to set up a windows 7 PC as a kiosk PC.......... I will spare you all the annoyances I…
If your business is like most, chances are you still need to maintain a fax infrastructure for your staff. It’s hard to believe that a communication technology that was thriving in the mid-80s could still be an essential part of your team’s modern I…
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…
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.

762 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

8 Experts available now in Live!

Get 1:1 Help Now