How to route only specific subnet (source ip) to a particular interface?
I know I can do easily by destination IP by using something like
route add 126.96.36.199/24 dev eth4
but I do not see how can route based on source IP.
You need to use policy based routing. Something kind of like
This pretty much says, that all traffic from
(can't test it ATM but i believe it's pretty much right :) )
This site has a nice example of source based routing.