Overclock.net › Forums › Software, Programming and Coding › Networking & Security › Teaming 2 network adapters on a Tomato router/Windows 7?
New Posts  All Forums:Forum Nav:

Teaming 2 network adapters on a Tomato router/Windows 7?

post #1 of 5
Thread Starter 
Because the network infrastructure in Israel is dumb, I can actually get 2 concurrent Internet connections going. One over VPN to my ISP, and one directly through the cable provider.

This means that I now have 2 adapters with 2 different IPs:
Local Area Connection - connected to the router, which gets an Internet IP through DHCP from the modem
VPN connection to ISP - over Local Area Connection

I want Windows to use both of those adapters to access the Internet. The Network and Sharing Center recognizes both of them as having Internet access.

I have a 12Mbps cap, but if I can team them I would effectively have 24Mbps with multithreaded downloads.

Another (better) option is to do the teaming on the router, which is running Tomato 1.27.
Akiyama Mio
(13 items)
 
  
CPUMotherboardGraphicsRAM
E6420 @ stock, 0.98v Asus P5N-E SLI Gainward GTX 460 1GB @ 800/1600/1900 2x2GB Kingston @ 800MHz 5-5-5-15 2T 
Hard DriveOptical DriveOSMonitor
WD 250GB, 320GB SATA/3, 16MB Cache, Seagate 1TB LG GSA-H62N 18x SATA Ubuntu 9.10 x86 & Win7 x86 Asus VW222U 
KeyboardPowerCase
Logitech Classic Corsair 650HX NZXT Apollo Black 
  hide details  
Reply
Akiyama Mio
(13 items)
 
  
CPUMotherboardGraphicsRAM
E6420 @ stock, 0.98v Asus P5N-E SLI Gainward GTX 460 1GB @ 800/1600/1900 2x2GB Kingston @ 800MHz 5-5-5-15 2T 
Hard DriveOptical DriveOSMonitor
WD 250GB, 320GB SATA/3, 16MB Cache, Seagate 1TB LG GSA-H62N 18x SATA Ubuntu 9.10 x86 & Win7 x86 Asus VW222U 
KeyboardPowerCase
Logitech Classic Corsair 650HX NZXT Apollo Black 
  hide details  
Reply
post #2 of 5
would bridging the 2 adapters do it?
post #3 of 5
Thread Starter 
I don't think so. Bridging is "dumb" - it will just pass packets between them. I can bridge either of the WAN connections with the local VLAN to control through which connection packets go through, but I have 2 WAN IPs, so I need something that knows how to abstract that.

It seems to get it to work on the router all I have to do is install the bonding kernel module, but it's going to be a bit of a pain to compile a kernel for the router. I am also a bit wary of doing so because I have no way of fixing things should it not boot
Akiyama Mio
(13 items)
 
  
CPUMotherboardGraphicsRAM
E6420 @ stock, 0.98v Asus P5N-E SLI Gainward GTX 460 1GB @ 800/1600/1900 2x2GB Kingston @ 800MHz 5-5-5-15 2T 
Hard DriveOptical DriveOSMonitor
WD 250GB, 320GB SATA/3, 16MB Cache, Seagate 1TB LG GSA-H62N 18x SATA Ubuntu 9.10 x86 & Win7 x86 Asus VW222U 
KeyboardPowerCase
Logitech Classic Corsair 650HX NZXT Apollo Black 
  hide details  
Reply
Akiyama Mio
(13 items)
 
  
CPUMotherboardGraphicsRAM
E6420 @ stock, 0.98v Asus P5N-E SLI Gainward GTX 460 1GB @ 800/1600/1900 2x2GB Kingston @ 800MHz 5-5-5-15 2T 
Hard DriveOptical DriveOSMonitor
WD 250GB, 320GB SATA/3, 16MB Cache, Seagate 1TB LG GSA-H62N 18x SATA Ubuntu 9.10 x86 & Win7 x86 Asus VW222U 
KeyboardPowerCase
Logitech Classic Corsair 650HX NZXT Apollo Black 
  hide details  
Reply
post #4 of 5
Thread Starter 
I found this diagram of the WRT54Gv4/WRT54GL.

I have an additional interface, ppp0, which is connected to my ISP over vlan1. I added it to the diagram:



I'm not sure how bridging would work. Bridging just "joins" 2 physical networks into 1 logical network, passing packets between them.

It's a pretty bizarre setup in that internet traffic from vlan0 goes out over ppp0, but internet traffic from the router itself (i.e. wget http://overclock.net) goes out over vlan1.

There is actually a kernel module named bonding which does just this, but compiling the kernel for the router will be a pain and pretty risky

ifconfig output from the router:

ppp0 Link encap: Point-to-Point Protocol
inet addr:82.80.187.215 P-t-P:82.80.187.1 Mask:255.255.255.255
UP POINTOPOINT RUNNING MULTICAST MTU:1392 Metric:1
RX packets:1254 errors:0 dropped:0 overruns:0 frame:0
TX packets:1053 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:570470 (557.0 KiB) TX bytes:154823 (151.1 KiB)


vlan1 Link encap:Ethernet HWaddr 00:1A:92:7D:08:0B
inet addr:84.111.195.189 Bcast:84.111.195.255 Mask:255.255.252.0
UP BROADCAST RUNNING MULTICAST MTU:1392 Metric:1
RX packets:2673 errors:0 dropped:0 overruns:0 frame:0
TX packets:1091 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:778145 (759.9 KiB) TX bytes:217012 (211.9 KiB)

Edited by Coma - 10/13/11 at 11:30am
Akiyama Mio
(13 items)
 
  
CPUMotherboardGraphicsRAM
E6420 @ stock, 0.98v Asus P5N-E SLI Gainward GTX 460 1GB @ 800/1600/1900 2x2GB Kingston @ 800MHz 5-5-5-15 2T 
Hard DriveOptical DriveOSMonitor
WD 250GB, 320GB SATA/3, 16MB Cache, Seagate 1TB LG GSA-H62N 18x SATA Ubuntu 9.10 x86 & Win7 x86 Asus VW222U 
KeyboardPowerCase
Logitech Classic Corsair 650HX NZXT Apollo Black 
  hide details  
Reply
Akiyama Mio
(13 items)
 
  
CPUMotherboardGraphicsRAM
E6420 @ stock, 0.98v Asus P5N-E SLI Gainward GTX 460 1GB @ 800/1600/1900 2x2GB Kingston @ 800MHz 5-5-5-15 2T 
Hard DriveOptical DriveOSMonitor
WD 250GB, 320GB SATA/3, 16MB Cache, Seagate 1TB LG GSA-H62N 18x SATA Ubuntu 9.10 x86 & Win7 x86 Asus VW222U 
KeyboardPowerCase
Logitech Classic Corsair 650HX NZXT Apollo Black 
  hide details  
Reply
post #5 of 5
Use pfSense in VMWare as a Virtual Router. You want multi WAN load balancing.
http://doc.pfsense.org/index.php/Mul...Load_Balancing


Edited by DuckieHo - 10/13/11 at 12:22pm
Once again...
(13 items)
 
  
CPUMotherboardGraphicsRAM
i7 920 [4.28GHz, HT] Asus P6T + Broadcom NetXtreme II VisionTek HD5850 [900/1200] + Galaxy GT240 2x4GB G.Skill Ripjaw X [1632 MHz] 
Hard DriveOSMonitorKeyboard
Intel X25-M 160GB + 3xRAID0 500GB 7200.12 Window 7 Pro 64 Acer H243H + Samsung 226BW XARMOR-U9BL  
PowerCaseMouseMouse Pad
Antec Truepower New 750W Li Lian PC-V2100 [10x120mm fans] Logitech G9 X-Trac Pro 
  hide details  
Reply
Once again...
(13 items)
 
  
CPUMotherboardGraphicsRAM
i7 920 [4.28GHz, HT] Asus P6T + Broadcom NetXtreme II VisionTek HD5850 [900/1200] + Galaxy GT240 2x4GB G.Skill Ripjaw X [1632 MHz] 
Hard DriveOSMonitorKeyboard
Intel X25-M 160GB + 3xRAID0 500GB 7200.12 Window 7 Pro 64 Acer H243H + Samsung 226BW XARMOR-U9BL  
PowerCaseMouseMouse Pad
Antec Truepower New 750W Li Lian PC-V2100 [10x120mm fans] Logitech G9 X-Trac Pro 
  hide details  
Reply
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Networking & Security
Overclock.net › Forums › Software, Programming and Coding › Networking & Security › Teaming 2 network adapters on a Tomato router/Windows 7?