2 internet connections on 1 PC.

Hi,
I have access to 2 internet connections from my pc. 1 is directly thru a cable modem connected to my pc. The other is thru an ADSL router/gateway which is sitting on my home LAN.
Is there any way to use both of them? I DONT want a certain program to use both together, rather i want to be able to decide which programs i run use which connection (From example I would want an application that is downloading something to use one of the connections, and a game i play online to use the other one). Is there any way/software to do this?
thanks in advance. (Im using winXP)
deniX23Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

sunray_2003Commented:
You can buy this

Dual 10/100 WAN Router with 4 Port Switch
http://www.hawkingtech.com/prodSpec.php?ProdID=101

0
deniX23Author Commented:
I need a software solution thanks. (How would that router btw allow me to have 1 program use 1 connection and another program use the second connection. My main problem that im trying to fix is that while i'm downloading something i can't play online games because my ping rockets to the sky).
0
sunray_2003Commented:
Well, if you use that hardware it is going to combine both of your internet broadband connections and you should be able to play online game and download at the same time.
I am not sure what program you are planning and what you are downloading but with just one broadband connection you should be able to manage that.

Are you saying you cannot do both at the same time or it is just slow.

I guess windows xp should be able to support that hardware and give you high broadband connection.

0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

sriwiCommented:
There is a metric settings on windows XP where you can specify which gateway you want to use, but i can't really relate that to the program that you want to run.

will probably need further research on your problem there as in which protocol required to run the game, etc
0
AutoSpongeCommented:
How is the cable modem connected, USB?
0
sunray_2003Commented:
sriwi,

I think I missed that point. I guess with having that hardware router , denix23 should be able to use both the connections but that metric setting should tell windows xp which broadband connection to work on

Metric setting should be here
go to control panel > network connections > right-click "properties" > click on TCP/IP and then click on "Properties"
go to advanced.
At the bottom , uncheck "automatic metric" and give a number. I think if you give 0 for that it would be taken as higher priority..
0
AutoSpongeCommented:
You can always set two default routes in your PC's routing table.

0.0.0.0 to the cable modem metric 1
0.0.0.0 to the adsl link metric 2

Use the "route add" command

This will try cable modem first and if it fails, go to the adsl link.  It's not smart or anything, but it should provide some failover.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Cyber-DudeCommented:
0
deniX23Author Commented:
Well from the post you directed to me sriwi I see that i CAN do it according to what he says because i do know the ip of the game server i am connecting to.
So what i would do is let's say i want all programs to use my cable modem, and the game i am playing to use the adsl on the network, So i would Manually set the metric value of the lan card connected to my cable modem to a lower one then the one connected to my home network (and to the adsl router).
Then i would have to create a static route for the IP of my game server to go thru the LAN card connecting to my home network.
So how exactly do i do that last part? (the static route part).
0
deniX23Author Commented:
Cyber-Dude i was not able to understand what exactly that program does.
0
deniX23Author Commented:
I guess I would use "route add" and specify my game server IP as the destination and direct it to the interface which is my lan card? would this work?
Anyway i would still rather have a way to decide exactly which programs use which interface (even without knowing the destinaion ip's). So if anyone knows a way please let me now, and if by tomorrow I see there is no way i'll give you the points sriwi, thanks.
0
sriwiCommented:
static route: in windows command prompt: route add

or route ? to get help first

hope that helps you
0
sriwiCommented:
Denix23: if you got it working, can you let us know.

cheers
0
deniX23Author Commented:
btw is there anyway to route specific ports to a certain interface rather than route a specific IP?
0
sunray_2003Commented:
deniX23,

One more thing. Dont you want to combine both internet connections and work for certain applications or
your goal of this question is

application A = use Broadband 1
and
application B = use Broadband 2
0
deniX23Author Commented:
The latter is my goal
0
lrmooreCommented:
Speaking for Windoze platforms (all flavors):
There is no way for an application to manipulate the routing table. Period.
There can be one and only one default gateway. Period.
The lowest metric gateway is used always by all applications.
As long as you know the IP address of the destination, you can manually create a route table entry to route to that destination via a different gateway. Demonstration:
   C:\>route add 0.0.0.0 mask 0.0.0.0 192.168.122.1 <-- default gateway pointing to cable router
   C:\>route add 12.34.56.7 mask 255.255.255.255 192.168.122.222
                         ^^^^                                             ^^^^
                       Destination IP                                  IP address of gateway (DSL router), not your lan card
After making those
C:\WINDOWS>route print
===========================================================================
Interface List
0x1 ........................... MS TCP Loopback interface
0x2 ...00 0c f1 ce 0e 22 ...... Intel(R) PRO/1000 MT Network Connection - Packet Schedul
 Miniport
===========================================================================
===========================================================================
Active Routes:
Network Destination        Netmask          Gateway       Interface  Metric
          0.0.0.0          0.0.0.0              24.24.24.1           24.24.24.24            20    <== "auto" metric makes this "20"
       12.34.56.7  255.255.255.255      192.168.122.222  192.168.122.150       1    <== static route via DSL router
        127.0.0.0        255.0.0.0                      127.0.0.1       127.0.0.1            1
  192.168.122.128  255.255.255.128  192.168.122.150  192.168.122.150      20
  192.168.122.150  255.255.255.255        127.0.0.1       127.0.0.1       20
  192.168.122.255  255.255.255.255  192.168.122.150  192.168.122.150      20
        224.0.0.0        240.0.0.0           192.168.122.150  192.168.122.150      20
  255.255.255.255  255.255.255.255  192.168.122.150  192.168.122.150       1
Default Gateway:   192.168.122.132
===========================================================================
Persistent Routes:
  None
0
deniX23Author Commented:
Is there anyway to control to which gateway outgoing tcp/udp packets are sent? (for example outgoing packets on port 1000 goto gateway a, everyone else goto gateway b?)
0
sunray_2003Commented:
deniX23,

adding value to this question, take a look and see if it makes sense

An Explanation of the Automatic Metric Feature for Internet Protocol Routes
http://support.microsoft.com/?kbid=299540
0
lrmooreCommented:
>Is there anyway to control to which gateway outgoing tcp/udp packets are sent?
Not inherently, but if you have XP, you "may" be able to use the TCP/IP filtering feature to deny udp 1000 on one network connection but allow it on the other.
Use at your own risk, your mileage may vary..
It still boils down to the destination IP. If there is no specific route to that destination IP, then it has to go out the default, where you've denied those packets -- catch 22...



0
lrmooreCommented:
If you had a Cisco router, this would be a piece of cake..it's an advanced routing function that Cisco excells at. But alas, Microsoft doesn't sell routers, only desktop and server operating systems, and software applications (none of which are guaranteed to work together).
0
Cyber-DudeCommented:
Sorry for the late response; CDExpress is LAN-based traffic management and load balancing software.

And yet, heres an intresting software:
http://www.itworx.com/ITWorx/News/Press+Releases/pr_NetCeleraSpeedArray.htm

Try those; If you want additional software, just say so.

Cyber
0
kidomanCommented:
Hi,

I might have a hack-solution for this:

for downloading something create a .bat file which adjusts the metric and set a lower value to the gateway you want to use for downloading. Let the download start. Once u have that setup working, you then create another .bat file corresponding to the game exe. Then readjust the metric so that the preffered gateway is used.

Mind you this is a complete hack. More elegant solutions are possible and those dont require you to use Cisco router (although I do agree, these would be a piece of cake in Cisco but that again would only segregate downloading from interactive use., but not application wise selective ness.)

However those more elegant solutions are:

- Use a linux machine in the network with 3 LAN cards (one for local home lan, and the two for the two inet connections. it is a very involved step.)
- Otherwise "just download in night, and play during morning." No offence. The problem is, because of the "user-friendly-ness"        Windows dosent permit many manipulations which are considered basic in other platforms.

Cheers,

karan
0
lrmooreCommented:
Wow! Post a link to something that I wrote, and then getting credit for answering this question...
Bah, humbug!
0
sunray_2003Commented:
Ah.. Thought it happens ONLY in Windows XP TA and thats why I came here but seeing XP is not alone
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Networking Protocols

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.