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.

So I'm currently connected to two internet connections. My 3G network and the company's wireless connection. But I don't really understand which one I'm using. Is there a way to find out which connection is being used. And is there a way to use both at the same time. Either by load balancing or dedicating each to separate tasks. For instance, one for downloading, one for surfing?

I'm on Ubuntu 9.10

share|improve this question

2 Answers 2

up vote 1 down vote accepted

Use the route command to show your routing table. Typically, your computer will have a default route (possibly the last network interface added) through which all your traffic will be routed.

The default route will have a destination of 0.0.0.0 or maybe just the word 'default'. That's where your traffic is going through. You can change it with the route command also.

http://www.cyberciti.biz/faq/linux-setup-default-gateway-with-route-command/

It may be possible to configure individual programs to bind to different network interfaces.

You may also look into bonding your network interfaces but I have never tried it.

share|improve this answer

This is an answer to similar question.

To download files by a specific route you can use Wget: wget --bind-address=<localIP> <file>, where <localIP> may be either your 3G (external) or company (internal) IP.

Route metrics can be set through NetworkManager (the tray applet).

Also this howto explains how to set routing policy to work for multiple Internet providers; you'll probably want to create a post-up script for 3G PPP interface that would set everything up.

share|improve this answer
    
Added multiple provider routing setup HOWTO. –  whitequark Feb 2 '10 at 1:29

Your Answer

 
discard

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.