Problem in connecting TCP services between 2 Solaris Servers


 
Thread Tools Search this Thread
Operating Systems Solaris Problem in connecting TCP services between 2 Solaris Servers
# 1  
Old 06-30-2007
Problem in connecting TCP services between 2 Solaris Servers

Hi,

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...

Please help me in this..
Thanks
NeeleshG
# 2  
Old 06-30-2007
Does the server you cannot ssh to have sshd running?

You mention gateways, are there any firewalls?
# 3  
Old 06-30-2007
Yes sshd is running. And when I ssh server3 from server1 and ssh server2 from server3 it works.
There is no firewall.

Thanks
NeeleshG
# 4  
Old 06-30-2007
It sounds like either your routing or your netmasks are wrong.

Can you list each machine's network interfaces, IP addresses and netmasks.
Then list what ever routes including default routes you have configured.
# 5  
Old 07-04-2007
Server1 - ce0 - 192.168.0.1/255.255.255.0 --> Solaris 9

Routing Table:

netstat -nr

10.27.40.2 192.168.0.5 UGH 1 20
default 192.168.0.254 UG 19171880
127.0.0.1 127.0.0.1 UH 82129125 lo0

Server2

Server2 --> 10.27.40.2/255.255.255.0 --> Solaris 10

Routing table:

192.168.0.0 10.27.40.5 UG 1 77518
default 10.27.40.2 UG 1 352170
127.0.0.1 127.0.0.1 UH 264213562 lo0


Server3

ce0 --> 192.168.0.5/255.255.255.0 --> Solaris 10 --> Gateway
ce1 --> 10.27.40.5/255.255.255.0


10.27.40.0 10.27.40.5 U 1 65134 ce1
default 192.168.0.254 UG 1 84121 ce0
127.0.0.1 127.0.0.1 UH 10351386451 lo0
# 6  
Old 07-04-2007
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 I SSH from Server1 to Server2 :

ssh (gw)
Server1 ----> Server3 ----> Server2
Server1 <---- Server3 <---- Server2


When I SSH from Server2 to Server1 :

ssh
Server2 ----> Server3 ----> Server1
Server2 Server3 X <---- Server1 Smilie
# 7  
Old 07-04-2007
Can you enable something like telnet temporarily and confirm this exhibits the same problem?
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Too much TCP retransmitted and TCP duplicate on server Oracle Solaris 10

I have problem with oracle solaris 10 running on oracle sparc T4-2 server. Os information: 5.10 Generic_150400-03 sun4v sparc sun4v Output from tcpstat.d script TCP bytes: out outRetrans in inDup inUnorder 6833763 7300 98884 0... (2 Replies)
Discussion started by: insatiable1610
2 Replies

2. SCO

Sco Openserver Starting TCP/IP Services

Hi all, I have a customer whose sco unix server wasnt power off correctly and when booting it up I noticed that the boot up takes a while to finish the " Starting TCP services: snmpd routed lpd". after that the server is ready for login, but you cannot ping anything from the server (apart from... (2 Replies)
Discussion started by: CharlL
2 Replies

3. Shell Programming and Scripting

connecting servers using shell script

Hi , I have three linux servers. I want to login from one server and check some status in the other server. How to connect other server from one server using shell script. Can anyone advice on this? Thanks, Chelladurai. (4 Replies)
Discussion started by: ckchelladurai
4 Replies

4. Solaris

Documentation on connecting EMC storage to Solaris servers

Hi Can anyone suggest me some documents for EMC clarion documents which I am going to use in the servers with solaris environments. (1 Reply)
Discussion started by: ningy
1 Replies

5. Shell Programming and Scripting

connecting servers using SSH - help needed

Hi all, I have a script written successfully and tuned by our members, now I am trying to execute this script from a taxi server. My aim is I want to connect to four servers via ssh where I want to ran a script or run some commands and write the output to a file in the Taxi server. I... (12 Replies)
Discussion started by: senthilkumar_ak
12 Replies

6. Programming

tcp server listening, client connecting problems

hello everyone. I tried searching for something related to this, but I figured it was time to ask my own question. I am experiencing these problems using Ubuntu 7.04 I am starting up a TCP listener/server and once connected, will act as a communication/control link with a program on another... (3 Replies)
Discussion started by: pjwhite
3 Replies

7. UNIX for Dummies Questions & Answers

Unix stopping the tcp services

Hi There We currently experiencing a problem on our Unix server Sco 5.07 , whereby the tcp services stops on it own and even if we restart the services manually the services still does not come up,We loose the printer and pc connections to the server we then need to restart the Unix server in... (1 Reply)
Discussion started by: esh
1 Replies

8. UNIX for Advanced & Expert Users

connecting servers

hi everyone i want to establish smtp connection between unix server and windows 2k3 mail server they are on one intranet. and unix server has ftp and telnet connection with the mail server. . (0 Replies)
Discussion started by: parmeet
0 Replies

9. UNIX for Dummies Questions & Answers

connecting servers

Please help me out i want to know how to send email from unix machine to any email-id. mail to be sent is web based mail. (1 Reply)
Discussion started by: parmeet
1 Replies

10. Shell Programming and Scripting

Connecting to remote servers

Please advise, The previous thread asked about the automated transfer of files between two servers. The question is - is there any way of encrypting the password within the script or is it a matter of setting the permissions settings on the script so that it can only be executed and possibly... (1 Reply)
Discussion started by: rdbooth
1 Replies
Login or Register to Ask a Question