raw socket might help. It will bypass routing, but it will also
bypass the UDP stack...
man 7 raw
You may also try changing the routing rules:
man route
#
On 04/03/14 10:02, Erez D 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