Solved

No Internet connection

Posted on 2000-03-05
2
213 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
[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 Comments
 
LVL 40

Accepted Solution

by:
jlevie earned 50 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

#Citrix #Citrix Netscaler #HTTP Compression #Load Balance
Let’s list some of the technologies that enable smooth teleworking. 
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

733 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