On Mon, 9 Aug 1999, SungHawk Kim wrote:
> Thank you for the answer. but, I guess it's not my case. What I
> want to do is balance the load of outgoing packets over more than
> one ethernet cards evenly. to do this, I get a UDP socket and bind
> it with eth0, and I get another UDP socket and bind it with eth1.
> I think bind() system call decides which interface outgoing
> packets are sent through. but, to my suprise, outgoing packets are
> sent through just one interface card which is the former entry in
> rouging table. I think it's a kind of mistake of Linux network
> implementation.
>
> Round robin DNS is good for load balancing in case of incoming
> requests can be processed arbitrarily over ethernet cards. but, It
> cannot determine which request should be processed by the certain
> interface, say eth0.
>
> what I really want to do is just bind a socket and an interface
> dynamically in my application. How can I do it?
There are options in the newer 2.2.x kernels for this, take a look at
equal cost multipath and similar.
----
First Law of System Requirements:
"Anything is possible if you don't know what you're talking about..."
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]