Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have a Linux box with a couple of 3G/HSDPA modems, seen as network connections, and i would like to get each to connect to a server over SSH. The server could be the same server, and i would need each 3G modem and network to connect to the server once... For example: 2 Modems (10.4.5.6 with GW 10.4.5.1 and 10.5.6.7 with GW 10.5.6.1, since most 3G modems give internal network IP addresses, but could be anything...). server is at 1.2.3.4. the Linux box should be able to connect to server 1.2.3.4 twice.... once though the 5.1 GW and once though the 6.1 GW. Is it possible to set this up?

share|improve this question
    
Look for a bonding howto, like on unixfoo.blogspot.de/2007/10/yet-to-add.html –  ott-- Jul 6 '12 at 8:57
    
Bonding is not possible for this set-up... bonding only works (tell me if i am wrong here) if the network cards are on the same network, eg, a machine with 4GigE connections to a single switch. in this case, the IPs i am given are dynamic, on different subnets, have different gateways, dns, etc... would be nice if it worked, but it wont... –  TiernanO Jul 6 '12 at 9:06
    
possible duplicate of Force an application to use a specific network interface –  Bobby Jul 6 '12 at 9:10
    
Arrrr...crap, that is for OSX...might still work, though. –  Bobby Jul 6 '12 at 9:11
    
it looks like it could work, technically, but since the server is going to have the same IP, only one route would actually be used... If i had 2 IPs on the server, which for 2 connections is not a problem, but for more, they could be, then routing would do the job... –  TiernanO Jul 6 '12 at 9:29
show 3 more comments

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.