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 an internet connection in my office that goes through a firewall.

It is very slow.

I setup my PC to connect via a tether from my mobile phone. The pc now shows two connections.

How does the computer utilize two connections?

share|improve this question
    
It's really not clear what you're asking. Are you asking what is already happening? Or are you asking how to make something specific happen? –  David Schwartz Jul 23 '12 at 2:52
    
@DavidSchwartz I don't see any confusing sentence. Maybe you are thinking too much? –  lamwaiman1988 Jul 23 '12 at 3:09
    
It's not clear whether you're asking what happens if you don't configure anything or whether you're asking how to configure it. –  David Schwartz Jul 23 '12 at 3:26
1  
I've already done the configuration. I am just asking of how the computer use 2 connection at the same time. It's really clear. –  lamwaiman1988 Jul 23 '12 at 3:32
    
good question indeed.. –  tumchaaditya Jul 23 '12 at 8:55

1 Answer 1

up vote 6 down vote accepted

Access to networks that are not directly connected to you are governed by the routing table of your PC.

"Not directly connected" includes every internet based IP address, and you access these via the default route.

When you have two connections that are both allocated an IP address when connected, a default route is also allocated. This means that when you have two connections you will have two default routes. So any packet can take either path. This can lead to issues where different packets from the same session take different routes and so appear to come from different public addresses.

In reality, what usually happens is that the OS will use some smarts and give one of these routes a higher metric, indicating it is a preferred route - so all packets take the same path. This can be based on the connectivity speed for example. So if you have a gigabit LAN connection, and a dial-up 3G connection, then some OSes will prefer the faster connection. Or it may simply be that the connection established second will be preferred.

You can control this by modifying the routing table, and forcing packets to take a particular path by removing one of the default routes, or adding in more specific routes to cause certain traffic flows to use a particular connection.

share|improve this answer

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.