<div dir="ltr"><br><br><div class="gmail_quote">On Sun, Jun 28, 2009 at 12:02 PM, geoffrey mendelson <span dir="ltr">&lt;<a href="mailto:geoffreymendelson@gmail.com">geoffreymendelson@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
I have two routers on my network. let&#39;s say 192.168.1.1 and 192.168.1.2. One connects to Netvision the other to 012. Now host based routing is simple, e.g. I can say route all packets to host 1.2.3.4 via gateway 192.168.1.1 and using a default route, everything else via 192.168.1.2.<br>

<br>
What I want to do is become more granular. I want to be able to route all packets to/from a specific port via one router, and everything else to use the<br>
default route.<br>
<br>
These are all connections to/from this particular system, I don&#39;t need to do it for everything on my network, or I can do it indiviudally. Currently the systems are running Ubuntu 9.04 with the latest kernel, but if I need to I can change them.<br>

<br>
<br>
Thanks, Geoff.<br>
</blockquote><div><br><br>Packet marking &amp; additional routing table. Quick &quot;HOWTO&quot; here: <br><a href="http://archive.cert.uni-stuttgart.de/suse-security/2005/01/msg00008.html">http://archive.cert.uni-stuttgart.de/suse-security/2005/01/msg00008.html</a><br>
<br>HTH,<br><br>-- Shimi<br></div></div></div>