I have 3 solaris servers. Two servers of differnet network and one gateway.
Server1 --> 192.168.0.1 --> Solaris 9
Server2 --> 10.27.40.2 --> Solaris 10
Server3 --> Iface1 --> 192.168.0.5 --> Solaris 10 --> Gateway
Iface2 --> 10.27.40.5
Now I am able to ssh from Server1 to Server2 through gateway but I am not able to ssh Server1 from Server2. From Server2 I checked Ping to server1 it works then traceroute also work properly only ssh, NFS and other TCP services are not working...
I checked routing from both side with traceroute it works properly. It goes to gateway first and then server.
When I ssh from server1 to server2 it works. but when I ssh from server2 to server1 it doesnt work. So I sniffed pacekts with snoop on all all servers. Then I got that, server2 send packets it goes to server3 then it goest to server1. Server1 sends reply to each packet but server3 doesnt reseive thore replies from Server1. Here is the problem. Please help
When you successfully telnet from server2 to server1 where does telnet say you are connecting from? Eg do it a couple of times then see what it says on the successful login prompt.
Also, when you are successful, do a netstat -a and look for your connection pairs that refer to your tcp connection, this will tell you what IP addresses are being used at either end for the session.
Yes I tried conecting ssh from server1 to server2 and checked in netstat -an then I found that ESTABLISHED connection is from the same IP which I have already given..
Thanks
NeeleshG
NOTE : And sorry team for posting my email address...
Sorry ZB,
My plan was to upload chat on forum directly. So I can resolve issue earlier and team will also get benifit. I know forums are for benifit of all... as I also manage one linux forum....