Traffic shaping/aggregating

2006-12-26 Thread Bruce Dawson
My partner and I use VPNs to access our employer sites, and we
frequently find that we're bottlenecking on uploads. So we decided to
get a 2nd cable modem so we won't collide with each other.

Although it would make sense that she would use one modem, and I the
other; it stops making sense when you consider the various (shared)
printers, file servers and other servers on our LAN that we need access
to in our daily tasks.

Does anyone know of good reference material regarding aggregating, or
otherwise combining the two cable modem's throughput into a single
network segment (using a router - preferably  a Linksys running OpenWRT
or somesuch)? I'm really looking for a HOWTO type document - or if
someone knows the commands to execute, that would be a good start!

--Bruce
___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/


Re: Traffic shaping/aggregating

2006-12-26 Thread Ben Scott

On 12/26/06, Bruce Dawson [EMAIL PROTECTED] wrote:

Although it would make sense that she would use one modem, and I the
other; it stops making sense when you consider the various (shared)
printers, file servers and other servers on our LAN that we need access
to in our daily tasks.


 The simplest way to solve your problem is to put one cable modem on
one LinkSys box, the other modem on a different LinkSys box, configure
the LAN sides of each box with their own IP address, and manually
configure each workstation to use a particular LinkSys box as the
Internet gateway.  It's a kludge, but it works.

 More complicated and somewhat less kludgey would be to use a router
with at least three interfaces: One for the LAN and one for each
modem.  Assign static IP addresses to the nodes you want using a
particular modem.  Configure policy routing and NAT such that those IP
address get routed via a particular interface and address.

 The Linux Advanced Routing  Traffic Control HOWTO at
http://lartc.org/ explains the details.

 One word of warning, last I tried it (on kernel 2.4 a few years
ago), port forwarding via iptables was unaware of policy routing.  As
I recall, port forwarding always ended up using the default tables, or
something along those lines.


Does anyone know of good reference material regarding aggregating, or
otherwise combining the two cable modem's throughput into a single
network segment ...


 Aggregation usually means turning multiple feeds into one, in
particular, such that a single node on your LAN would get twice the
bandwidth, even for a single TCP connection.

 There's no real way to aggregate two consumer cable modem feeds like
that.  The ISP's routing plan doesn't include multiple routes to a
single customer site.  Two cable modems are effectively two different
sites.  They also don't support anything like layer two bonding.

 You can get a form of load balancing on a per-connection basis.
That is, one TCP connection would use one modem, the next would use
the other, and so on.  This has all the same problems as NAT.  It also
does the wrong thing if two existing connections pinned to one modem
start sucking bandwidth.  Prolly not what you want.

-- Ben
___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/


Re: Traffic shaping/aggregating

2006-12-26 Thread hewitt_tech


- Original Message - 
From: Ben Scott [EMAIL PROTECTED]

To: gnhlug-discuss@mail.gnhlug.org
Sent: Tuesday, December 26, 2006 12:06 PM
Subject: Re: Traffic shaping/aggregating



On 12/26/06, Bruce Dawson [EMAIL PROTECTED] wrote:

Although it would make sense that she would use one modem, and I the
other; it stops making sense when you consider the various (shared)
printers, file servers and other servers on our LAN that we need access
to in our daily tasks.


 The simplest way to solve your problem is to put one cable modem on
one LinkSys box, the other modem on a different LinkSys box, configure
the LAN sides of each box with their own IP address, and manually
configure each workstation to use a particular LinkSys box as the
Internet gateway.  It's a kludge, but it works.

 More complicated and somewhat less kludgey would be to use a router
with at least three interfaces: One for the LAN and one for each
modem.  Assign static IP addresses to the nodes you want using a
particular modem.  Configure policy routing and NAT such that those IP
address get routed via a particular interface and address.

 The Linux Advanced Routing  Traffic Control HOWTO at
http://lartc.org/ explains the details.

 One word of warning, last I tried it (on kernel 2.4 a few years
ago), port forwarding via iptables was unaware of policy routing.  As
I recall, port forwarding always ended up using the default tables, or
something along those lines.


Does anyone know of good reference material regarding aggregating, or
otherwise combining the two cable modem's throughput into a single
network segment ...


 Aggregation usually means turning multiple feeds into one, in
particular, such that a single node on your LAN would get twice the
bandwidth, even for a single TCP connection.

 There's no real way to aggregate two consumer cable modem feeds like
that.  The ISP's routing plan doesn't include multiple routes to a
single customer site.  Two cable modems are effectively two different
sites.  They also don't support anything like layer two bonding.

 You can get a form of load balancing on a per-connection basis.
That is, one TCP connection would use one modem, the next would use
the other, and so on.  This has all the same problems as NAT.  It also
does the wrong thing if two existing connections pinned to one modem
start sucking bandwidth.  Prolly not what you want.

-- Ben



How about using the LinkSys RV042/82 series router which has dual wide area 
network connections and can do load balancing?


-Alex

___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/


Re: Traffic shaping/aggregating

2006-12-26 Thread Ben Scott

On 12/26/06, hewitt_tech [EMAIL PROTECTED] wrote:

How about using the LinkSys RV042/82 series router which has dual wide area
network connections and can do load balancing?


 How about cutting some text when quoting a message?  ;-)  (Your
2-line reply quoted 50 lines of original.)

 Netiquette aside...

 I wasn't aware of those products.  The RV082 looks like a neat little box.

 Do you have any experience with those boxes doing what Bruce wants
to do?  That is, have one user (LAN IP address) associated with one
WAN feed, and another user associated with the other WAN feed?  The
user manual doesn't make it clear if that is even supposed to be
possible, and LinkSys doesn't always deliver on their claims even when
they are clear.  :)

 Any info on hackability of the RV082/RV042 units?  In particular,
can they be hacked to run a custom Linux firmware?  I found
http://tinyurl.com/y7hn9b but it's mainly speculation, and about a
year old.  I found http://openixp.phj.hu/ but it appears to be
stagnant.

 Cheers,

-- Ben
___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/