lkml.org 
[lkml]   [1997]   [Jun]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectMultiple default entries in routing table
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


\
 
 \ /
  Last update: 2005-03-22 13:39    [W:0.038 / U:0.596 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site