sending to same dest via different interfaces

sending to same dest via different interfaces

Erez D erez0001 at gmail.com
Tue Mar 4 11:16:19 IST 2014


On Tue, Mar 4, 2014 at 11:05 AM, Elazar Leibovich <elazarl at gmail.com> wrote:

> use the SO_BINDTODEVICE setsockopt.
>
requires me to be root ...

>
>
> On Tue, Mar 4, 2014 at 10:02 AM, Erez D <erez0001 at 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 at cs.huji.ac.il
>> http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.cs.huji.ac.il/pipermail/linux-il/attachments/20140304/42aa9d7d/attachment.html>


More information about the Linux-il mailing list