No Internet connection

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.
gillbyAsked:
Who is Participating?
 
jlevieCommented:
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
 
gillbyAuthor Commented:
Thanks, but the problem was solved.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.