Sign up ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

Suppose i am connected to two networks-

  1. DSL connection.

2.Mobile broadband.

Which one will be considered as the base one and will be used??

Because both do get connected at the same time..!!

share|improve this question

1 Answer 1

up vote 3 down vote accepted

The one with a 'better' gateway metric will be chosen. To find out which one it is, open terminal and type this:

route -n

I see that I have a gateway with metric         UG    0      0        0 eth0

So eth0 is my preferred adapter.

Another (probably easier) way to find out is to look at the route to Google's DNS server (

ip route get

This is my output: via dev eth0  src 

You can see that it is going via eth0. Try this on your machine and have a look at the results.

share|improve this answer
Thanx a lot..!! This Question was storming my brains from long...!! Also,is there absolutely no way that the connection is shared by both connections?? So that bandwidth increases?? i read a post already here...but just asking that is there absolutely no way to do it?? – Nirmik May 19 '12 at 16:52
There is a way to do it, it's referred to as NIC Bonding (I think it has many other synonyms). I've never done it but there's a help page on the Ubuntu Help Wiki: – Mendhak May 19 '12 at 18:19
Thanx a lot..!! that was helpfull..!! :) – Nirmik May 19 '12 at 18:25

Your Answer


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.