* [LARTC] How to make "external loopback" with 2 interfaces
@ 2002-06-05 10:14 David Müller
2002-06-05 10:23 ` Amit Kucheria
0 siblings, 1 reply; 2+ messages in thread
From: David Müller @ 2002-06-05 10:14 UTC (permalink / raw)
To: lartc
Hello
For testing purposes, i would like to make a connection between 2
network interfaces on the same machine.
For example, i have eth0 (10.0.0.100) and eth1 (10.0.0.101) and would
like to have the traffic going on the "wire", not just taking the
"shortcut" inside the protocol stack.
I have played around a little bit with the routing table, but did not
succeed.
Does Linux and/or the associated network tools support such strange
requirements and if yes how to i setup the routing table?
TIA
Dave
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [LARTC] How to make "external loopback" with 2 interfaces
2002-06-05 10:14 [LARTC] How to make "external loopback" with 2 interfaces David Müller
@ 2002-06-05 10:23 ` Amit Kucheria
0 siblings, 0 replies; 2+ messages in thread
From: Amit Kucheria @ 2002-06-05 10:23 UTC (permalink / raw)
To: lartc
You would have to hack the IP layer for that AFAIK.
I need the same thing for a device driver I am writing and the only way to
do this seem to be bypassing the IP layer optimization which basically
says "If the destination IP is one of my interfaces, pick up pkt from xmit
queue and put it in recv queue"
ciao,
Amit
On Wed, 5 Jun 2002, David Müller wrote:
> Hello
>
> For testing purposes, i would like to make a connection between 2
> network interfaces on the same machine.
>
> For example, i have eth0 (10.0.0.100) and eth1 (10.0.0.101) and would
> like to have the traffic going on the "wire", not just taking the
> "shortcut" inside the protocol stack.
>
> I have played around a little bit with the routing table, but did not
> succeed.
>
> Does Linux and/or the associated network tools support such strange
> requirements and if yes how to i setup the routing table?
>
> TIA
>
> Dave
>
> _______________________________________________
> LARTC mailing list / LARTC@mailman.ds9a.nl
> http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
>
--
I'm an angel!!! Honest!
The horns are just there to hold the halo up straight.
^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^
Amit Kucheria
EECS Grad. Research Assistant
University of Kansas @ Lawrence
(R): +1-785-830-8521 ||| (C): +1-785-760-2871
____________________________________________________
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-06-05 10:23 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-06-05 10:14 [LARTC] How to make "external loopback" with 2 interfaces David Müller
2002-06-05 10:23 ` Amit Kucheria
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.