Re: load balancing on more than 1 default routes

michael chen (michaelc@turbolinux.com.cn)
Fri, 3 Aug 2001 17:58:03 +0800


Hi rtviado,

Friday, August 03, 2001, 6:02:48 PM, you wrote:

r> Hello,

r> I just want to ask if there is a facility in the kernel that load
r> balance to different default routes, since i'm using this routes for
r> uplink purposes only (my downlink is via satellite, it doesn't matter
r> where i send my packets uplink as long as it reaches the internet
r> backbone).

r> for example

r> in my box, I have routes as describe below

r> destination gateway netmask
r> default isp1 0.0.0.0
r> default isp2 0.0.0.0

r> Want i want is for the kernel to load balance (e.g round robin) uplink
r> packets to isp1 and isp2. If this in is not possible in the current
r> kernel, where in the kernel source files can i start hacking to make this
r> possible?

r> TIA
As i know, there is a networking driver called bonding ,which can
load balance sending packets through several ethernet
connections, both 2.2.X and 2.4.X kernel have this driver.

-- 
Best regards,
Michael Chen                           mailto:michaelc@turbolinux.com.cn

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/