Sunday, April 24, 2011

PC connected to 2 modems but setup to get internet from one?

Can I have my PC connected to two modem/routers at the same time (motherboard offers 2 LAN ports) but only setup so that it connects to the internet through one of them?

The reason is the following: I have 2 DSL lines, and 2 modem/routers.

I want to have one DSL providing access to the internet to my desktop PC (through modem/router 1), and the second DSL line providing internet to laptop, PS3 and other secondary devices (through modem/router 2).

However, I still want to have everything connected in a home network, so in order to do that I need to have my desktop PC also connected to the modem/router 2.

How can I do that?

I am running Windows 7 x64.

Thanks!

Reply 1 : PC connected to 2 modems but setup to get internet from one?

So if I read this right
Desktop will ONLY go to internet via router 1
Other machines will ONLY go to internet via router 2
Desktop needs access to just the devices attached to router 2 and nothing past it.

First you need different subnets for your 2 routers. Ie 192.168.1.0/24 and 192.168.2.0/24... or whatever you like.

Everything is setup pretty much standard except your connection on desktop to router 2. On this network interface you want to use a hard coded IP from the subnet assigned to router 2. Do not set the default gateway or the DNS on that interface. Your machine will have 2 ip addresses one on each subnet. Since there is only a single default route it will use that to go to internet but is smart enough to know based on the subnet mask that it can talk directly to your other machines.

If you issue the ROUTE PRINT command from the cmd line you should see both network.

You may have to set options in the bios on some motherboards to allow both to be active at the same time.

If your question is the more standard one we see here of how to actually use 2 internet connections from a single machine that answer is that it is very hard to get to work effectively.

Reply 2 : PC connected to 2 modems but setup to get internet from one?

Thank you, that was exactly what I was looking for happy

No comments:

Post a Comment