Click to See Complete Forum and Search --> : Solaris 9 network/internet problem


happy_user
09-27-2003, 04:28 PM
Hi folks, im not sure if this is the right thread to for this problem, but here it goes anyway...

I have installed solaris 9, and im trying to connect it to the internet

My current setup:
-A linksys router directly connected to the internet
-A redhat 9 box connected to the linksys router, which acts as another router/firewall
-A sun solaris 9 x86 box located behind the redhat 9 box
-I am positive that the linux box is working because ive been running my home LAN through it with internet access for months now (three windows machines) and are still running
-I've initially connected the solaris box directly to the linksys router, edited /etc/resolv.con /etc/nsswitch.conf
and i was able to get internet access

My problem:
-My Solaris machine cant seem to connect through the linux box
-I know that i cant ping through the linux machine because of the firewall rules(even the computers running windows which has internet access cant do this)
-i have been testing the connection by typing in the ip address of the linksys router in a web browser which should bring up the setup page for the router (this i can do with the windows machine)
-The IP address that i have assigned for the solaris machine is legit, with the proper subnet mask
-I've even taken down one of the windows machine, and assigned its ip address to the solaris machine
-tail -f /var/log/messages does not show anything involving the solari machine's ip address (ip-masq is set to log everything denied)


Can anybody help me solve this problem? Any suggestions will be greatly appreciated

rfwhitej
09-27-2003, 11:32 PM
Can you ping the Linux box from the Solaris box?

Try "netstat -r" to see if you have the proper IP address for your default route. The default route should be the IP address of the Linux box, if that is the initial router.

To add it permanently, if it doesn't already esist, create /etc/defaultrouter and add the bare IP address in it.

I hope "resolv.con"was a typo. It is "resolv.conf".

Hope this helps.

Roy White

bandwidth_pig
09-28-2003, 03:07 PM
Originally posted by happy_user
Hi folks, im not sure if this is the right thread to for this problem, but here it goes anyway...

I have installed solaris 9, and im trying to connect it to the internet

My current setup:
-A linksys router directly connected to the internet
-A redhat 9 box connected to the linksys router, which acts as another router/firewall
-A sun solaris 9 x86 box located behind the redhat 9 box
-I am positive that the linux box is working because ive been running my home LAN through it with internet access for months now (three windows machines) and are still running
-I've initially connected the solaris box directly to the linksys router, edited /etc/resolv.con /etc/nsswitch.conf
and i was able to get internet access

My problem:
-My Solaris machine cant seem to connect through the linux box
-I know that i cant ping through the linux machine because of the firewall rules(even the computers running windows which has internet access cant do this)
-i have been testing the connection by typing in the ip address of the linksys router in a web browser which should bring up the setup page for the router (this i can do with the windows machine)
-The IP address that i have assigned for the solaris machine is legit, with the proper subnet mask
-I've even taken down one of the windows machine, and assigned its ip address to the solaris machine
-tail -f /var/log/messages does not show anything involving the solari machine's ip address (ip-masq is set to log everything denied)


Can anybody help me solve this problem? Any suggestions will be greatly appreciated

Do you have IP forwarding enabled on the Redhat box? And are you using a cross over cable to go from the NIC of your solaris box to the NIC of the Redhat box? You'll have to if going from NIC to NIC. The TX and RX pairs on the RJ-45 mod plug need to be rolled rather than straight.