Does Linux have native support for load balanced (maybe as simple as RR or IP Hash) multiple default gateways?
|
It's been a little spotty in the past, but any modern distribution should have that capability. First verify that the kernel has been built with these two settings.
You'll also need to install iproute, which is sometimes iproute2 again depending on the distribution. FWIW a default install of 10.04 LTS should have all this ready to go. |
|||||||
|
|
Your kernel has to be compiled with |
|||
|
|
|
Multiple default gateways is rarely going to have the desired affect. If one of the gateways is down you're going to lose the traffic that is sent to it. What are you trying to achieve by using more than one gateway? Dynamic routing, 802.3ad link aggregation (LaCP) or a combination of the two is probably closer to the solution you are looking for. |
|||
|