Source based routing

Adel Qodmani mpcadel at
Sun Jun 2 17:44:13 EDT 2013

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,
-------------- next part --------------
An HTML attachment was scrubbed...

More information about the Kernelnewbies mailing list