Re: many ways to do load balancing (or not?)

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Em Thu, Nov 21, 2002 at 12:46:56PM -0500, Ashok N N escreveu:
> i believe that SNAT is for connections initiated from outside world towards 
> the internal network. and this would be reverse of what is intended here, 

That's DNAT.

> i'm still looking at the code here. AFAIK, the when you have multipath option 
> set, then when looking up for a route to an address, among the multiple equal 
> cost paths, one is selected according to some criteria (i read random 
> somewhere in the kernel but am not able to locate it now). but once the route 

This criteria I would like to understand.

> route. so it is kind of a route-based load-balancing.

Considering that the route cache is 60s by default, this should work I guess.
I'm setting up such a setup for testing.

> i read in one of the threads that 'equalize' causes per-packet load balancing, 
> i.e looks up the route for each packet. but i am doubtful about the 
> performance when each packet causes a route-lookup in the FIB.
> (http://www.uwsg.iu.edu/hypermail/linux/net/0107.3/0028.html)

Interesting, so 'equalize' bypasses the cache, that's about it?

So we only need to know the criteria with which the route is choosed in a multipath
route. Packet count? Round robin?

> > d) OSPF. I read in the RFC that OSPF can do "load balancing", but I failed
> > to understand how (no, I didn't read that RFC thoroughly, it's really high
> > tech for me at this point). Does it use multipath routes to accomplish this?

Any thoughts on how OSPF does this?

Thanks for your input

_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux