Sorry. My default was not 'send to all'. Now posting to the list as well.
On Wed, Mar 5, 2014 at 2:58 PM, Elazar Leibovich <elaz...@gmail.com> wrote: > Another idea from colleague, is to bind the source address of the socket > to the address of the desired netwrokr interface. > > While it doesn't guarantee anything, he said that in practice the kernel > routed the packets through the desired network interface. > > > On Tue, Mar 4, 2014 at 10:02 AM, Erez D <erez0...@gmail.com> wrote: > >> Hello >> >> >> I have 2 external interfaces via two eth cards, both connected to the >> internet >> >> I want to send a udp packet to same host:port, but choose dynamically >> which interface to use. >> >> can this be done with linux, and how ? >> >> >> >> 10x >> erez. >> >> _______________________________________________ >> Linux-il mailing list >> Linux-il@cs.huji.ac.il >> http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il >> >> > > _______________________________________________ > Linux-il mailing list > Linux-il@cs.huji.ac.il > http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il > >
_______________________________________________ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il