IP route is a better solution to this problem. Lots of info on source based routing with IP route on Google.
J On Jun 3, 2013 7:45 AM, "Adel Qodmani" <[email protected]> wrote: > Hello everyone, > > I'm trying to force the kernel into using a source-based routing in my > kernel module. > What I mean by this is that I want packets with IP: X to go through the > interface that has the IP: X. > > So far, I found out how to do that using IPTABLES, but I want to force > this policy programmatically, is there any way to do so? > > > Best regards, > Adel > > _______________________________________________ > Kernelnewbies mailing list > [email protected] > http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies > >
_______________________________________________ Kernelnewbies mailing list [email protected] http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
