[LARTC] How to _not_ use loopback...

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I'm not sure if this is the same thing as what the original poster was aski=
ng,=20
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 o=
ne to=20
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 ch=
eck 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 <eric@regit.org>
To: LARTC <LARTC@mailman.ds9a.nl>
Date: 20 Jan 2003 08:58:54 +0100

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

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



[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux