<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body dir="ltr" bgcolor="#ffffff" text="#000000">
<p style="margin-bottom: 0cm; margin-top: 0pt;">Oleg Goldshmidt wrote:<br>
</p>
<blockquote cite="mid:m3r610tlqe.fsf@goldshmidt.org" type="cite"><br>
<pre wrap=""><!---->
Let me first make a disclaimer that I have not tried it myself in this
configuration, but here is what *might* point you towards a
solution. It may also turn out a dead end, mind you.
</pre>
</blockquote>
I'm sorry, my money is on the later.<br>
<blockquote cite="mid:m3r610tlqe.fsf@goldshmidt.org" type="cite">
<pre wrap="">
<a class="moz-txt-link-freetext" href="http://www.clintoneast.com/articles/multihomed.php">http://www.clintoneast.com/articles/multihomed.php</a>
<a class="moz-txt-link-freetext" href="http://lartc.org/howto/lartc.rpdb.multiple-links.html">http://lartc.org/howto/lartc.rpdb.multiple-links.html</a>
<a class="moz-txt-link-freetext" href="http://linux-ip.net/html/adv-multi-internet.html">http://linux-ip.net/html/adv-multi-internet.html</a>
<a class="moz-txt-link-freetext" href="http://kindlund.wordpress.com/2007/11/19/configuring-multiple-default-routes-in-linux/">http://kindlund.wordpress.com/2007/11/19/configuring-multiple-default-routes-in-linux/</a>
</pre>
</blockquote>
None of those links say anything about causing a packets destined for a
LOCAL ip to actually go out. I'd love to be proven wrong as, as I've
said, I need a similar thing myself.<br>
<blockquote cite="mid:m3r610tlqe.fsf@goldshmidt.org" type="cite">
<pre wrap="">Once again, I am not saying it is a solution for you problem, just
something that might help you work it out, if it is at all possible.
</pre>
</blockquote>
It is, indeed, worth a try.<br>
<blockquote cite="mid:m3r610tlqe.fsf@goldshmidt.org" type="cite">
<pre wrap=""></pre>
<blockquote type="cite">
<pre wrap="">The most immediate solution is to run a virtual machine, and give it
exclusive access to one of the NICs. This way you can configure, for
example, the 100 address in the real machine and the 101 address in
the virtual one.
</pre>
</blockquote>
<pre wrap=""><!---->
But this does not necessarily mean packets will go out of the machine
- hypervisors include local (in-box) switching nowadays.
</pre>
</blockquote>
Switching is fine, as long as they are only layer 2 aware. So long as
you actually have two actual physical network cards, there is no reason
for the packet not to go out. A layer 3 switch might notice the short
path, but a layer 2 switch should work fine.<br>
<br>
Shachar<br>
<br>
<br>
<pre class="moz-signature" cols="72">--
Shachar Shemesh
Lingnu Open Source Consulting Ltd.
<a class="moz-txt-link-freetext" href="http://www.lingnu.com">http://www.lingnu.com</a>
</pre>
</body>
</html>