Grant Taylor wrote: Could you give me a suggestion? Thanks.Do not use this method to load balance. Look in to Equal Cost Multi Path (a.k.a. ECMP) routing and specifying multiple default gateways on one route command. The kernel should try to load balance across the multiple default gateways for you while maintaining connections. This is a bad bad advice in this day and age. If there are not enough users route caching will kill him. Here is a recent discussion of this: http://marc.info/?l=lartc&m=117912699505681&w=2 HTH PeterP.S. I am not insisting that netfilter is superior in this regard, I am simply expressing common requirements and looking into ways of achieving them. If someone can point me to how to do this with kernel routes - I am all ears, since I recognize that the netfilter solution is not very elegant, although it works. _______________________________________________ LARTC mailing list LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [LARTC] Using Julian Anastasov's 'routes' patches on 2.4 kernel in conjunction with IPSec, Julian Anastasov |
|---|---|
| Next by Date: | Re: [LARTC] Load Balance and SNAT problem., John Chang |
| Previous by Thread: | Re: [LARTC] Load Balance and SNAT problem., Grant Taylor |
| Next by Thread: | Re: [LARTC] Load Balance and SNAT problem., Grant Taylor |
| Indexes: | [Date] [Thread] [Top] [All Lists] |