Multiple default entries in routing table

The SethMeister (seth@home.com)
Tue, 10 Jun 1997 23:40:15 -0700


Hi there,

This is a general question and I apologize if it is out of topic for this
list. I recently had a discussion with a co-worker in which he said that
adding multiple default routes is a bad and wrong thing to do when you want
to load balance a server over a bunch of network interfaces. He suggestied
using a piece of hardware to do this kind of load balancing (I do not know
of any such hardware, but of course that does not mean it does not exist).
Has anyone here heard that multiple default routes (one per NIC) is a bad
thing to do?

ie: with a machine with 3 NICs, doing:
route add default gw 192.168.1.1 dev eth0
route add default gw 192.168.1.1 dev eth1
route add default gw 192.168.1.1 dev eth2

Would this not be a good way to load-balance a network server? Or is there
a better way?

Thanks a bunch!
Seth