I'm not sure if this is the same thing as what the original poster was asking, 
but I have a similar issue: there are  two ethernet interfaces on a box, and
for HW diagnostic purposes I want to send IP traffic _over the wire_ from one to 
the other. In the
normal case, this would be handled via the loopback device and would not go over
the wire (since the internal routing code is smart enough, I believe, to check all
local interface addresses). I expect there is a way to do this with policy routing,
and I'll be looking into it,
but if someone already knows some answers, please share them.

Thanks,

sf

From: Eric Leblond <[EMAIL PROTECTED]>
To: LARTC <[EMAIL PROTECTED]>
Date: 20 Jan 2003 08:58:54 +0100

Le dim 19/01/2003 =E0 17:35, Bernd Rudack a =E9crit :
> Hi there,
> in a specal case I want to send IP packets from one IP address to another=
 IP=20
> address on the same multihomed linux box. The problem is, that the packet=
s=20
> should leave the box by passing one ethernet interface, go through a=20
> hub/switch and get back into the box via the second interface.
> Well, this sounds crazy.
> Anyway, does anyone know a solution?

Use Linux ;-)=20
if the box has the IPs, it kows it and route it internally.

_______________________________________________
LARTC mailing list / [EMAIL PROTECTED]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

Reply via email to