How to setup 2 internet - 2 routers - as 1 LAN

bebangs

Distinguished
Sep 23, 2009
443
0
18,790
So here's my setup.

i have my own internet connection - shared with my brother.

my cousin (next house) have their own internet connection too.

So it looks like this:
97990053.jpg


Now, we just want to connect both our LANs so we can share files and play LAN games.

So we simply connect both routers with a LAN cable.
85041718.jpg



The problem is, it disabled the other internet and only used the one of them.
53423032.jpg




Help please or at lease point me to the right direction on what to do.
 
Solution
1. Write down the IP addresses (IP, DNS, Gateway) the computers and routers currently use.
(Before the connecting cable is used.)

2. Manually assign static address to the computers. Using the DNS address you wrote down.

3. Assign an address to the router LAN address. The two routers should not have the same LAN address.

4. Turn off DHCP on both routers.

Example
House 1
Router LAN - 192.168.1.150
Computer 1 IP - 192.168.1.5
Computer 1 - DNS xxx.xxxx.xxx.xxx
Computer 1 Gateway - 192.168.1.150

Computer 2 IP - 192.168.1.6
Computer 2 - DNS xxx.xxxx.xxx.xxx
Computer 2 Gateway - 192.168.1.150


House 2
Router LAN - 192.168.1.100
Computer 1 IP - 192.168.1.11
Computer 1 - DNS xxx.xxxx.xxx.xxx
Computer 1 Gateway - 192.168.1.100...

lyleb

Distinguished
Mar 10, 2009
342
0
18,810
1. Write down the IP addresses (IP, DNS, Gateway) the computers and routers currently use.
(Before the connecting cable is used.)

2. Manually assign static address to the computers. Using the DNS address you wrote down.

3. Assign an address to the router LAN address. The two routers should not have the same LAN address.

4. Turn off DHCP on both routers.

Example
House 1
Router LAN - 192.168.1.150
Computer 1 IP - 192.168.1.5
Computer 1 - DNS xxx.xxxx.xxx.xxx
Computer 1 Gateway - 192.168.1.150

Computer 2 IP - 192.168.1.6
Computer 2 - DNS xxx.xxxx.xxx.xxx
Computer 2 Gateway - 192.168.1.150


House 2
Router LAN - 192.168.1.100
Computer 1 IP - 192.168.1.11
Computer 1 - DNS xxx.xxxx.xxx.xxx
Computer 1 Gateway - 192.168.1.100

Computer 2 IP - 192.168.1.12
Computer 2 - DNS xxx.xxxx.xxx.xxx
Computer 2 Gateway - 192.168.1.100
 
Solution

ilted

Distinguished
Sep 23, 2009
2
0
18,510
Or, if you felt like a project and had an old computer laying around, the fun way would be load balancing between the two internet connections so each of the computers share both internet connections. If you download torrents it would double you're speed too (won't do anything for the speed of direct downloads).

using pfsense (or similar) on an old pc, using a vlan to keep it to one cable running between the two locations, and a bunch of fun writing all the rules (all https goes out this internet connection only, etc.) here is how it would look:

toms%20hardware%20network%201.jpg


How the 4 computers would see it:

toms%20hardware%20network%202.jpg


I really doubt you'll be doing this, I mostly just wanted an excuse to break out paintbrush :)

Did you get it running as lyleb suggested?









 

hsoldo

Distinguished
Feb 9, 2012
1
0
18,510
Hi,

Do you have any instructions how to set up this type of connection?

We have 2 internet routers, se we are trying to find best solution for balancing.

Thanks