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
# 22  
Old 07-05-2007
Quote:
Originally Posted by neel.gurjar
Server3

ce0 --> 192.168.0.5/255.255.255.0 --> Solaris 10 --> Gateway
ce1 --> 10.27.40.5/255.255.255.0
What are you trying to say here? Surely the gateway should be prepared packets from ce0 and send them to ce1 and similarly from ce1 send them to ce0.

Quote:
Originally Posted by neel.gurjar
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
Can you isolate these three machines? You seem to have another router 192.168.0.254 in the picture.

The simple arrangement of

1. ip forwarding on
2. ce0=192.168.0/255.255.255.0
3. ce1=10.27.40.2/255.255.255.0

should enable the server3 to act as a gateway.

also,

1. server1 should have a gateway route of 192.168.0.5 for 10.27.40.0/255.255.255.0

2. server2 should have a gateway route of 10.27.40.5 for 192.168.0.0/255.255.255.0
# 23  
Old 07-05-2007
I mean to say that this Server3 is gateway.

192.168.0.254 is Internet Router.

Thanks
NeeleshG
# 24  
Old 07-06-2007
Quote:
Originally Posted by neel.gurjar
192.168.0.254 is Internet Router.
Can you disconnect from the internet router or otherwise isolate these three machines?

I'm wondering if some packets are that are supposed to be going between server1 and server2 via server3 are actually reaching the correct place because of the internet router rather than server3 doing it's job.

Do the two routes I describe make sense?

As far as I can make out server1's default route is out to the internet-router, we want to have it configured to send packets destined for 10.27.40.X to go via 192.168.0.5. There seemed to be just a single similar reference at server1 "10.27.40.2 192.168.0.5 UGH 1 20" which is refering to a single host, we should want this to be a "static/persistent route" and apply to the whole subnet.
# 25  
Old 07-06-2007
[SIZE="1"]Ok I will try this for more information here are other virtual Ips on Server1: and every IP is getway for same destination eg. 10.27.40.0.. Is this confusing packets to go outwards ? and so is it going to default route ?

ce0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
inet 10.27.40.2 netmask ffffff00 broadcast 10.27.40.255

ce0:1: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
inet 10.27.40.3 netmask ffffff00 broadcast 10.255.255.255

ce0:2: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
inet 10.27.40.4 netmask ffffff00 broadcast 10.255.255.255

ce0:3: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
inet 10.27.40.5 netmask ffffff00 broadcast 10.255.255.255

ce0:4: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
inet 10.27.40.6 netmask ffffff00 broadcast 10.255.255.255

ce0:5: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
inet 10.27.40.7 netmask ffffff00 broadcast 10.255.255.255

ce0:6: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
inet 10.27.40.8 netmask ffffff00 broadcast 10.255.255.255

Thanks
NeeleshG
# 26  
Old 07-06-2007
Although there are lot's of virtual IPs they shouldn't affect this.

However what IP is sshd bound to when it starts? Use netstat -a and look for the LISTEN on port 22.

Unless I am mistaken that can and should only be one default route per machine, it makes no sense for there to be more, and if there were, how would it know which one to use?

It shouldn't matter what the default route is as long as there are explicit static routes that say..

on server1:

for the subnet that server2 is on, use host server3

and on server2:

for the subnet that server1 is on, use host server3
# 27  
Old 07-07-2007
Hi

I have added routes as you have mentioned. But still not working..

Smilie

Thanks
NeeleshG
# 28  
Old 07-07-2007
I would start testing with other boxes on those subnets in order to identify which out of server1, server2 and server3 are screwing the network up.

Start with a substitute for server1, then 2 then 3.
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