Load balancing across dual NICs
Posted on 2000-03-09
I've got an NFS server exporting a couple filesystems to approximately 120 servers. These are all on the same class C, connected to a Cicso Catalyst 5513, and spread fairly evenly across the two halves of the backplane on the Catalyst.
I've got both NICs up and running currently, with a round-robin DNS entry, but the vast majority of the traffic is still hitting eth0. I'm afraid it's due to eth0 being the default gateway.
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
22.214.171.124 * 255.255.255.255 UH 0 0 0 eth0
126.96.36.199 * 255.255.255.255 UH 0 0 0 eth1
188.8.131.52 * 255.255.255.0 U 0 0 0 eth0
184.108.40.206 * 255.255.255.0 U 0 0 0 eth1
127.0.0.0 * 255.0.0.0 U 0 0 0 lo
default gateway 0.0.0.0 UG 0 0 0 eth0
Essentially, what I'm looking for is a way to aggregate the two 100Mbs connections.
All servers are running RH 6.0 with 2.2.14 and all current patches.