Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

No Internet connection

Posted on 2000-03-05
2
Medium Priority
?
217 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 200 total points
ID: 2585296
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
ID: 2774419
Thanks, but the problem was solved.
0

Featured Post

Get your Disaster Recovery as a Service basics

Disaster Recovery as a Service is one go-to solution that revolutionizes DR planning. Implementing DRaaS could be an efficient process, easily accessible to non-DR experts. Learn about monitoring, testing, executing failovers and failbacks to ensure a "healthy" DR environment.

Question has a verified solution.

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

When you try to share a printer , you may receive one of the following error messages. Error message when you use the Add Printer Wizard to share a printer: Windows could not share your printer. Operation could not be completed (Error 0x000006…
For many of us, the  holiday season kindles the natural urge to give back to our friends, family members and communities. While it's easy for friends to notice the impact of such deeds, understanding the contributions of businesses and enterprises i…
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…
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…

963 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