[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

2 internet connections on 1 PC.

Posted on 2004-10-31
26
Medium Priority
?
413 Views
Last Modified: 2013-11-29
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)
0
Comment
Question by:deniX23
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 7
  • 6
  • 4
  • +4
26 Comments
 
LVL 49

Expert Comment

by:sunray_2003
ID: 12456893
You can buy this

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

0
 

Author Comment

by:deniX23
ID: 12456969
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
 
LVL 49

Expert Comment

by:sunray_2003
ID: 12457005
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
Plesk WordPress Toolkit

Plesk's WordPress Toolkit allows server administrators, resellers and customers to manage their WordPress instances, enabling a variety of development workflows for WordPress admins of all skill levels, from beginners to pros.

See why 2/3 of Plesk servers use it.

 
LVL 4

Expert Comment

by:sriwi
ID: 12457124
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
 
LVL 5

Expert Comment

by:AutoSponge
ID: 12457137
How is the cable modem connected, USB?
0
 
LVL 49

Expert Comment

by:sunray_2003
ID: 12457145
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
 
LVL 5

Expert Comment

by:AutoSponge
ID: 12457148
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
 
LVL 4

Accepted Solution

by:
sriwi earned 2000 total points
ID: 12457155
0
 
LVL 15

Expert Comment

by:Cyber-Dude
ID: 12457190
0
 

Author Comment

by:deniX23
ID: 12457211
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
 

Author Comment

by:deniX23
ID: 12457221
Cyber-Dude i was not able to understand what exactly that program does.
0
 

Author Comment

by:deniX23
ID: 12457252
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
 
LVL 4

Expert Comment

by:sriwi
ID: 12457259
static route: in windows command prompt: route add

or route ? to get help first

hope that helps you
0
 
LVL 4

Expert Comment

by:sriwi
ID: 12457272
Denix23: if you got it working, can you let us know.

cheers
0
 

Author Comment

by:deniX23
ID: 12457308
btw is there anyway to route specific ports to a certain interface rather than route a specific IP?
0
 
LVL 49

Expert Comment

by:sunray_2003
ID: 12457336
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
 

Author Comment

by:deniX23
ID: 12457341
The latter is my goal
0
 
LVL 79

Expert Comment

by:lrmoore
ID: 12457350
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
 

Author Comment

by:deniX23
ID: 12457388
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
 
LVL 49

Expert Comment

by:sunray_2003
ID: 12457392
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
 
LVL 79

Expert Comment

by:lrmoore
ID: 12457441
>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
 
LVL 79

Expert Comment

by:lrmoore
ID: 12457453
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
 
LVL 15

Expert Comment

by:Cyber-Dude
ID: 12458171
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
 
LVL 2

Expert Comment

by:kidoman
ID: 12458745
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
 
LVL 79

Expert Comment

by:lrmoore
ID: 12476947
Wow! Post a link to something that I wrote, and then getting credit for answering this question...
Bah, humbug!
0
 
LVL 49

Expert Comment

by:sunray_2003
ID: 12476985
Ah.. Thought it happens ONLY in Windows XP TA and thats why I came here but seeing XP is not alone
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Short answer to this question: there is no effective WiFi manager in iOS devices as seen in Windows WiFi or Macbook OSx WiFi management, but this article will try and provide some amicable solutions to better suite your needs.
This article is a collection of issues that people face from time to time and possible solutions to those issues. I hope you enjoy reading it.
Viewers will learn how to connect to a wireless network using the network security key. They will also learn how to access the IP address and DNS server for connections that must be done manually. After setting up a router, find the network security…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

656 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question