IP route is a better solution to this problem. Lots of info on source based routing with IP route on Google.
J
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
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies