Problem with Static route through peer to peer connection
Hi,
I am trying to add a static route in one of 3 server (S3) so that I can access the main application server (S1). But problem is, the server (S3) where I am trying to add static route is connected with another server (S2) which is in same private network of application server (S1).
I have 3 servers. servers' IP suppose:
S1:
eth0: 10.10.8.26
255.255.255.0
10.10.8.1
S2:
eth0: 10.10.8.48
255.255.255.0
10.10.8.1
eth1: 192.168.100.1
255.255.255.252
S3:
eth0: 192.168.100.2
255.255.255.252
Here 192.196.100.2 is P2P connected with 192.168.100.1
But I want to access 10.10.8.26 from 192.168.100.2
Your expert advice is highly appreciated. Thanks in advance. Have a nice day.
So I have to add static route in S1 & S3 ? How can I tell S2 not to forward?Actually, I m new in unix environment. Would you please help me with command so that I can apply those in the terminal of S1 & S3.
FYI, from S3 I can only ping 192.168.100.1 not 10.10.8.48
Thanks for your reply & assistance.
Regards,
Imran
---------- Post updated at 06:05 PM ---------- Previous update was at 12:38 PM ----------
Can I use port forwarding to resolve this issue?
On S2 if I configure port forwarding like this 192.168.100.1:1443 -> 10.10.8.26:443, I will be able to access the application from S3 through https to 192.168.100.1:1443 ?
I think you need a router to exchange packets between the 10... network and the 192... network. If S2 can act as a router from S3 to S1, fine. Make it the gateway for 10... on S3. If you have another router in your local area, use that.
There might be a remote chance depending on your system' s setup, that you could use an alias interface on S3 to interact with S1. On my linux system, I do it like
I'd be very interested in your results!
Last edited by RudiC; 11-22-2012 at 10:05 AM..
Reason: corrected the ifconfig command
Yes, I want to apply port/ IP forwarding in S2 so that can access S1 from S3. But can't figure it out how to do that. Problem is mine that I am so much novice in unix environment. Would you please help me with command that can be applied in S2 through terminal?
Sorry, I can't answer your port forwarding questions sensibly. I'm not sure you need it at all if you set up routing correctly.
Still there were two other proposals in my post that you might want to give a shot.
Hi Guys,
I can't SSH to a remote system - connection reset by peer..any ideas ?
-The Source is Linux, the Remote is Windows
-The remote has OpenSSH running on Port 22 - Telnet confirms port is open
-User1 has a RSA2 Key (2048) key, which is capture in the 1010101-pub.key specified by the... (1 Reply)
I have created a script to cat the contents of a log file and pipe it to head and tail so I can get specific lines.
When I do this I sometimes randomly get the error
"cat: write error: Connection reset by peer". It is completely sporatic and sometimes it doesnt happen and sometimes it does... (4 Replies)
I am looking for advice on a router. I am new to Linux and am trying to use Limewire and Ktorent and can make no connection. Limewire indicates I have a firewall. I have a Linksys router WRK54G and my guess is that is the problem. I have spent hours upon hours trying to get it to work using info... (0 Replies)
Hello
I'm facing the above problem while doing a performance run. I've a script which I'm launching from my windows desktop using mozilla. The script will invoke backend action on a Solaris host which in turn feeds the records to a driver located on a linux box(Cent OS).
What's happening is... (1 Reply)
hi everyone.
As a solaris/unix beginner, I am trying a peer-to-peer connection with my Sun and Windows.
Here is my setup:
-Windows XP
-Sun System (Netra T1) which is connected to the console of the WinXP machine.
-Windows XP has wireless connection which enables me to access internet ... (3 Replies)
hi all.
am running postgresql in a vm on debian server.
i have some client programs connecting to the db.
when i check the logs of postgresql i see "connection reset by peer"
can someone help me with this issue...
thanks. (1 Reply)
hi
i am connecting to a remote server using sftp protocol.
i am using the command like "sftp USER01@122.10.12.45"
then i got the error "Couldn't read packet: Connection reset by peer"
please help its very urgent (5 Replies)
I use ssh to work on the server (OS X 10.4.x) remotely from home (Debian / OS X 10.5.3). If I leave my machine idle, I get disconnected after a couple of minutes. I get the following error message:
Read from remote host "server name": Connection reset by peer
Connection to "server name" closed.... (2 Replies)
:confused: HI,
We have 2 servers ( win 2003 + sun 5.8 ) and we run a rsh from the NT to the UNIX.
The program runs a shell script on the UNIX and waits for the answer in the EOF.
How ever, after period of appx 2 min there is a reply "Recv failed:Connection reset by peer".
while the... (5 Replies)