I have a server connected to Internet via two networks - A microwave link and an ADSL Link. The server has been assigned static IP address in both network.
Both both the networks are not reliable and get disconnected often. So whatever task I run from my client through ssh gets interrupted and I have to close everything and switch to the other connection.
Its frustrating to do this every time and hence I was wondering if there is a way that I can open a ssh connection that uses both the network in parallel, share the data transfer between the two and if there is any failure in one of the network,redirect the entire data traffic to the other in a way that my ssh doesn't get affected and I can seamlessly work without knowing which network the ssh is actually using?
This may be ridiculously senseless question but I am no networking expert.Please tell me if this is possible or please suggest me other ways to accomplish this, if any.
My server uses CentOS and my client is Ubuntu and Mac.