Try replacing your ACK block:<br><br>t_relay();<br>
exit;<br><br>with:<br>
<br>if (src_ip == 10.9.6.40) {<br>        route(1)<br>    }<br><br>if (src_ip == 10.9.6.3) {<br>        route(2)<br>    }<br><br>Regards,<br>Qasim