Skip to contentSkip to conversation

working patches for load balancing

LARTC Vladimir Vitkov 2 participants 5 messages Jun 17, 2006 – Jun 24, 2006

lore
Share & tools
lore
#0 lore raw

Hi,

i want to do load balancing of 2 ISP's
Everything is set up OK but one of the ISP's is loaded on 100% while the other is utilised on 1 - 5%

I've read about Julians patches but they stop at 2.6.14.

Is anybody aware of similar patches for higher patchlevels. 2.6.14 is not suitable for my setup

Thanks for reading :)

Signature · 5 lines
С уважение,
Владимир Витков

http://www.netsecad.com
http://www.supportbg.com

_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

#1 lore raw
Quoted 5 lines · Vladimir Vitkov

Hi,

i want to do load balancing of 2 ISP's
Everything is set up OK but one of the ISP's is loaded on 100% while the other is utilised on 1 - 5%

Is CONFIG_IP_ROUTE_MULTIPATH_CACHED set on your kernel config?

Signature · 5 lines
Luciano
_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
#2 lore raw
In reply to Vladimir Vitkov

yes it is set.
Also both round robin and weighted modes

Quoted 16 lines · Luciano Ruete
Quoted 5 lines · Vladimir Vitkov

Hi,

i want to do load balancing of 2 ISP's
Everything is set up OK but one of the ISP's is loaded on 100% while the other is utilised on 1 - 5%

Is CONFIG_IP_ROUTE_MULTIPATH_CACHED set on your kernel config?

--
Luciano
_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

Signature · 5 lines
С уважение,
Владимир Витков

http://www.netsecad.com
http://www.supportbg.com

_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

#3 lore raw
In reply to Vladimir Vitkov
Quoted 2 lines · Vladimir Vitkov

yes it is set.
Also both round robin and weighted modes

Ok, then may you hit the problem, give a tray to a kernel without CONFIG_IP_ROUTE_MULTIPATH_CACHED.

Two months ago i have the same problem, the multipath cached option was EXPERIMENTAL at that time (i think it still is), and it does not work properly, and to deactivate it is the cheeper way to make multipath work.

If you insist whit make CONFIG_IP_ROUTE_MULTIPATH_CACHED you must remember that you need to select one of the cache selection algos, not only build them in the kernel, also you need to specify one whit the ip route command, ie(for round robin):

ip route add default mpath rr nexthop via....

Signature · 5 lines
Luciano
_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
#4 lore raw
In reply to Vladimir Vitkov

Thanks luciano,

without CONFIG_IP_ROUTE_MULTIPATH_CACHED works like a charm.

Quoted 18 lines · Luciano Ruete
Quoted 2 lines · Vladimir Vitkov

yes it is set.
Also both round robin and weighted modes

Ok, then may you hit the problem, give a tray to a kernel without CONFIG_IP_ROUTE_MULTIPATH_CACHED.

Two months ago i have the same problem, the multipath cached option was EXPERIMENTAL at that time (i think it still is), and it does not work properly, and to deactivate it is the cheeper way to make multipath work.

If you insist whit make CONFIG_IP_ROUTE_MULTIPATH_CACHED you must remember that you need to select one of the cache selection algos, not only build them in the kernel, also you need to specify one whit the ip route command, ie(for round robin):

ip route add default mpath rr nexthop via....

Signature · 9 lines
If everything fails, use a hammer

Vladimir Vitkov <vvitkov [at] gmail [dot] com
pgp KeyID: 0x9215F7F7
Fingerprint: DDC0 DC86 AE97 D9EE F654 7EDC 5F03 309C 9215 F7F7
_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc