* Re: [LARTC] client disconnecting
2007-02-18 7:29 [LARTC] client disconnecting Alin Ilie
@ 2007-02-18 9:10 ` Rune Kock
2007-02-18 11:23 ` Alin Ilie
` (5 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: Rune Kock @ 2007-02-18 9:10 UTC (permalink / raw)
To: lartc
> 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
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
^ permalink raw reply [flat|nested] 8+ messages in thread* Re: [LARTC] client disconnecting
2007-02-18 7:29 [LARTC] client disconnecting Alin Ilie
2007-02-18 9:10 ` Rune Kock
@ 2007-02-18 11:23 ` Alin Ilie
2007-02-20 21:38 ` Radu Oprisan
` (4 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: Alin Ilie @ 2007-02-18 11:23 UTC (permalink / raw)
To: lartc
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
>
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
^ permalink raw reply [flat|nested] 8+ messages in thread* Re: [LARTC] client disconnecting
2007-02-18 7:29 [LARTC] client disconnecting Alin Ilie
2007-02-18 9:10 ` Rune Kock
2007-02-18 11:23 ` Alin Ilie
@ 2007-02-20 21:38 ` Radu Oprisan
2007-02-21 9:56 ` Alin Ilie
` (3 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: Radu Oprisan @ 2007-02-20 21:38 UTC (permalink / raw)
To: lartc
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?
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
^ permalink raw reply [flat|nested] 8+ messages in thread* Re: [LARTC] client disconnecting
2007-02-18 7:29 [LARTC] client disconnecting Alin Ilie
` (2 preceding siblings ...)
2007-02-20 21:38 ` Radu Oprisan
@ 2007-02-21 9:56 ` Alin Ilie
2007-02-21 18:42 ` Alin Ilie
` (2 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: Alin Ilie @ 2007-02-21 9:56 UTC (permalink / raw)
To: lartc
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 :)
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
^ permalink raw reply [flat|nested] 8+ messages in thread* Re: [LARTC] client disconnecting
2007-02-18 7:29 [LARTC] client disconnecting Alin Ilie
` (3 preceding siblings ...)
2007-02-21 9:56 ` Alin Ilie
@ 2007-02-21 18:42 ` Alin Ilie
2007-02-21 19:08 ` Alin Ilie
2007-03-15 9:54 ` Alin Ilie
6 siblings, 0 replies; 8+ messages in thread
From: Alin Ilie @ 2007-02-21 18:42 UTC (permalink / raw)
To: lartc
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
>
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
^ permalink raw reply [flat|nested] 8+ messages in thread* Re: [LARTC] client disconnecting
2007-02-18 7:29 [LARTC] client disconnecting Alin Ilie
` (4 preceding siblings ...)
2007-02-21 18:42 ` Alin Ilie
@ 2007-02-21 19:08 ` Alin Ilie
2007-03-15 9:54 ` Alin Ilie
6 siblings, 0 replies; 8+ messages in thread
From: Alin Ilie @ 2007-02-21 19:08 UTC (permalink / raw)
To: 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
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
^ permalink raw reply [flat|nested] 8+ messages in thread* Re: [LARTC] client disconnecting
2007-02-18 7:29 [LARTC] client disconnecting Alin Ilie
` (5 preceding siblings ...)
2007-02-21 19:08 ` Alin Ilie
@ 2007-03-15 9:54 ` Alin Ilie
6 siblings, 0 replies; 8+ messages in thread
From: Alin Ilie @ 2007-03-15 9:54 UTC (permalink / raw)
To: lartc
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
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
^ permalink raw reply [flat|nested] 8+ messages in thread