Problem with Static route through peer to peer connection


 
Thread Tools Search this Thread
Special Forums IP Networking Problem with Static route through peer to peer connection
# 8  
Old 11-23-2012
Port forwarding is usually for firewall traversal. Two flavors are possible: the tcp connection may actually terminate on the intermediate host with the forwarder making a second connection and shuffling all the data (a.k.a. tcp_relay), or something similar to NAT can adjust the port, host and checksum on a packet by packet basis. It is not a solution that scales well, expecially with the first flavor, which begs the question of what you are trying to achieve. Protocols that put port or host informaiton into the data present problems. NAT has logic for FTP, one of the first such, and rewrites data where it seems appropriate, but maybe not for your app.

Any host with more than one IP device can become a router if packet forwarding is turned on. Incoming packets not for this host are routed out when they hit the middle of the IP stack. This is often not desirable, as the second NIC may be for fail-over or another somewhat incompatible sort of traffic, like backups.

You need two static routes because the flow of the packets in one direction is completely independent of the other direction. Sometimes packets in the other direction have a different path to increase throughput or protect one network from the higher traffic on the other, e.g., a web server might download on a second network so the first is free of the many large packets and high volume. For a 80/20 i/o volume split, it gives your network 25% more bandwidth before the busy side chokes. However, this can be a problem for dynamic NAT, as the second firewall does not know what IP the first has reassigned.
# 9  
Old 11-25-2012
I think, using a router between S2 &S3 can resolved this issue easily. And I think a router already exists between S2 & S3 cause the P2P connectivity is maintaining by a vendor who provide remote fiber connection. Lets see, what happen. I will update you guys.

Thanks a lot everyone for your valuable comments.
# 10  
Old 11-25-2012
Out of sheer interest on my part: could you try the interface alias on S3 and post the result?
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Red Hat

Can't SSH - Connection reset by Peer

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)
Discussion started by: stevie_velvet
1 Replies

2. UNIX for Dummies Questions & Answers

cat: write error: Connection reset by peer

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)
Discussion started by: atelford
4 Replies

3. IP Networking

Firewall stopping Peer to Peer File sharing

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)
Discussion started by: Paul K
0 Replies

4. UNIX for Advanced & Expert Users

Connection reset by peer..closing connection

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)
Discussion started by: subramanyab
1 Replies

5. Solaris

peer-to-peer connection on solaris and windows

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)
Discussion started by: graboid888
3 Replies

6. IP Networking

connection reset by peer on freebsd

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)
Discussion started by: coolatt
1 Replies

7. Shell Programming and Scripting

Connection reset by peer

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)
Discussion started by: Satyak
5 Replies

8. Shell Programming and Scripting

ssh - connection reset by peer

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)
Discussion started by: osxhawk
2 Replies

9. IP Networking

connection reset by peer

: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)
Discussion started by: eyalush
5 Replies
Login or Register to Ask a Question