On Tue, Mar 4, 2014 at 10:20 AM, shimi <linux...@shimi.net> wrote: > First Google result for "raw sending packet linux" might help: > http://austinmarton.wordpress.com/2011/09/14/sending-raw-ethernet-packets-from-a-specific-interface-in-c-on-linux/ > this is raw ethernet. i want to use the udp stack, and also use other interfaces other then ethernet (e.g. ppp)
> > The other way is to do normal packets, and modify the kernel routing > behavior in between (like with 'ip rule'...) - your choice which option to > choose :) > 1. need to be root 2. tried that. couldn't make it work with udp > > -- Shimi > > > 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