Hi, I have two connections to the Internet. I implemented the load balancing as described in chapter 4.2 "Routing for multiple uplinks/providers" The problem that occurred is that the client applications like Yahoo Messenger or even PuTTY (SSH client) are loosing the connection very often. Does anyone experienced this problem? Does anyone knows an workaround for this problem? Cheers, Alin
> I have two connections to the Internet. > > I implemented the load balancing as described in chapter 4.2 "Routing > for multiple uplinks/providers" > The problem that occurred is that the client applications like Yahoo > Messenger or even PuTTY (SSH client) are loosing the connection very often.I had a similar problem with an internet game disconnecting exactly every 10 minutes. My theory is that the routing code may choose to switch the data to the other provider, and that that breaks the connection. I solved it by using connection marking, and then directing all marked to the provider where they were originally marked. I don''t know the exact commands to use because I used Shorewall, which can setup this hack by simply specifying "track" (see http://www.shorewall.net/MultiISP.html). Even after doing that, some connections would still break after some hours, but it was a lot better than before. If you find out other things about this problem, I would very much like to hear about it. Rune
I think that connection marking is limiting the idea behind the balancing that we want to do with this "routing for multiple providers". Rune Kock wrote:>> I have two connections to the Internet. >> >> I implemented the load balancing as described in chapter 4.2 "Routing >> for multiple uplinks/providers" >> The problem that occurred is that the client applications like Yahoo >> Messenger or even PuTTY (SSH client) are loosing the connection very >> often. > > I had a similar problem with an internet game disconnecting exactly > every 10 minutes. > > My theory is that the routing code may choose to switch the data to > the other provider, and that that breaks the connection. > > I solved it by using connection marking, and then directing all marked > to the provider where they were originally marked. I don''t know the > exact commands to use because I used Shorewall, which can setup this > hack by simply specifying "track" (see > http://www.shorewall.net/MultiISP.html). > > Even after doing that, some connections would still break after some > hours, but it was a lot better than before. > > If you find out other things about this problem, I would very much > like to hear about it. > > > > Rune >
Alin Ilie wrote:> Hi, > > I have two connections to the Internet. > > I implemented the load balancing as described in chapter 4.2 "Routing > for multiple uplinks/providers" > The problem that occurred is that the client applications like Yahoo > Messenger or even PuTTY (SSH client) are loosing the connection very often. > Does anyone experienced this problem? Does anyone knows an workaround > for this problem? > > Cheers, > AlinYour problem may have something to do with cleanup of connection tracking tables or cache routing. Are you sure you have the correct rp_filter settings for what you are trying to do?
Radu Oprisan wrote:> Alin Ilie wrote: > >> Hi, >> >> I have two connections to the Internet. >> >> I implemented the load balancing as described in chapter 4.2 "Routing >> for multiple uplinks/providers" >> The problem that occurred is that the client applications like Yahoo >> Messenger or even PuTTY (SSH client) are loosing the connection very often. >> Does anyone experienced this problem? Does anyone knows an workaround >> for this problem? >> >> Cheers, >> Alin >> > > > Your problem may have something to do with cleanup of connection > tracking tables or cache routing. Are you sure you have the correct > rp_filter settings for what you are trying to do? > >I had the rp_filter set to 1. I changed to 0 for all the interfaces, and I will see if this works. Thank you, Alin Ilie :)
Hi Kevin, I have kernel 2.6.18-1. I tried to set rp_filter=0. Still problem unsolved. Alin Kevin wrote:> Alin, > I get this problem all the time. Mainly with Yahoo and ssh > connections. I had put it down to using an unpatched 2.4 kernel. I can > get round the problem temporarily by supplying static routes for the > connections affected. What kernel are you using? > Kevin. > > on 18/02/2007 14:29 Alin Ilie wrote: >> Hi, >> >> I have two connections to the Internet. >> >> I implemented the load balancing as described in chapter 4.2 "Routing >> for multiple uplinks/providers" >> The problem that occurred is that the client applications like Yahoo >> Messenger or even PuTTY (SSH client) are loosing the connection very >> often. >> Does anyone experienced this problem? Does anyone knows an workaround >> for this problem? >> >> Cheers, >> Alin >> _______________________________________________ >> LARTC mailing list >> LARTC@mailman.ds9a.nl >> http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc >
Alin Ilie wrote:> Radu Oprisan wrote: >> Alin Ilie wrote: >> >>> Hi, >>> >>> I have two connections to the Internet. >>> >>> I implemented the load balancing as described in chapter 4.2 "Routing >>> for multiple uplinks/providers" >>> The problem that occurred is that the client applications like Yahoo >>> Messenger or even PuTTY (SSH client) are loosing the connection very >>> often. >>> Does anyone experienced this problem? Does anyone knows an workaround >>> for this problem? >>> >>> Cheers, >>> Alin >>> >> >> >> Your problem may have something to do with cleanup of connection >> tracking tables or cache routing. Are you sure you have the correct >> rp_filter settings for what you are trying to do? >> >> > > I had the rp_filter set to 1. > I changed to 0 for all the interfaces, and I will see if this works. > Thank you, > Alin Ilie :) >Still doesn''t work. :( Alin
Alin Ilie wrote:> Alin Ilie wrote: >> Radu Oprisan wrote: >>> Alin Ilie wrote: >>> >>>> Hi, >>>> >>>> I have two connections to the Internet. >>>> >>>> I implemented the load balancing as described in chapter 4.2 "Routing >>>> for multiple uplinks/providers" >>>> The problem that occurred is that the client applications like Yahoo >>>> Messenger or even PuTTY (SSH client) are loosing the connection >>>> very often. >>>> Does anyone experienced this problem? Does anyone knows an workaround >>>> for this problem? >>>> >>>> Cheers, >>>> Alin >>>> >>> >>> >>> Your problem may have something to do with cleanup of connection >>> tracking tables or cache routing. Are you sure you have the correct >>> rp_filter settings for what you are trying to do? >>> >>> >> >> I had the rp_filter set to 1. >> I changed to 0 for all the interfaces, and I will see if this works. >> Thank you, >> Alin Ilie :) >> > > Still doesn''t work. :( > Alin >Does anyone have an idea how can I solve this? I think that the problem resides in the routes cache refresh time and method. Thank you, Alin