netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Fwd: iproute weight balancing problem with youtube
@ 2008-12-09 17:03 Markus Frahm
  2008-12-09 18:30 ` [Shorewall-devel] " Colin Alston
  0 siblings, 1 reply; 2+ messages in thread
From: Markus Frahm @ 2008-12-09 17:03 UTC (permalink / raw)
  To: shorewall-devel, netdev

Hello,
I didn't receive any answer or subscription confirmation from the other list 
yet, so I forward the problem to this list. Can anybody help?
Greetings
  Markus

----------  Forwarded Message  ----------

Subject: iproute weight balacing problem with youtube
Date: Monday 27 October 2008
From: Markus Frahm <frahm@sybuca.de>
To: shemminger@osdl.org, lartc@mailman.ds9a.nl

Dear Stephen Hemminger,
we have found a problem with ip route and multiple internet connections using 
the ip route 'weight' option to balance the traffic of a NAT firewall between 
several lines. Internet sites like 'youtube' show videos only with 50% 
probability because youtube and similar sites demand several connections (for 
the web site and the flash stream) to come from the same source IP. Is there a 
simple solution for this problem for example to increase the time in the 
balancing algorithm or a cache for source IPs? 
Regards

  Markus





-------------------------------------------------------


------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Shorewall-devel] Fwd: iproute weight balancing problem with youtube
  2008-12-09 17:03 Fwd: iproute weight balancing problem with youtube Markus Frahm
@ 2008-12-09 18:30 ` Colin Alston
  0 siblings, 0 replies; 2+ messages in thread
From: Colin Alston @ 2008-12-09 18:30 UTC (permalink / raw)
  To: shorewall-devel; +Cc: netdev

On 2008/12/09 07:03 PM Markus Frahm wrote:
> Dear Stephen Hemminger,
> we have found a problem with ip route and multiple internet connections using 
> the ip route 'weight' option to balance the traffic of a NAT firewall between 
> several lines. Internet sites like 'youtube' show videos only with 50% 
> probability because youtube and similar sites demand several connections (for 
> the web site and the flash stream) to come from the same source IP. Is there a 
> simple solution for this problem for example to increase the time in the 
> balancing algorithm or a cache for source IPs? 
> Regards
>   

Should not be a problem. YouTube uses a single stream for buffering and 
there should not be any conflict between a change in source address with 
the request for the flash applet and the stream. HTTP does not work that 
way... There are some protocols that do, in which case there is contrac 
to solve that problem, if there were a bug it would be in contrac so you 
should raise the issue on the Netfilter lists.

I have personally used Shorewall in such a configuration (we are 
designing a product at the moment for that exact purpose) and have not 
seen any issues. Are you sure this is not a packet loss issue on one of 
the upstreams?

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-12-09 19:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-12-09 17:03 Fwd: iproute weight balancing problem with youtube Markus Frahm
2008-12-09 18:30 ` [Shorewall-devel] " Colin Alston

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).