Solved

No Internet connection

Posted on 2000-03-05
2
214 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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

#Citrix #Citrix Netscaler #HTTP Compression #Load Balance
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 …
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.
Suggested Courses

734 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