From mboxrd@z Thu Jan 1 00:00:00 1970 From: Amit Kucheria Date: Wed, 05 Jun 2002 10:23:13 +0000 Subject: Re: [LARTC] How to make "external loopback" with 2 interfaces Message-Id: List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable To: lartc@vger.kernel.org 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=20 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=FCller wrote: > Hello >=20 > For testing purposes, i would like to make a connection between 2=20 > network interfaces on the same machine. >=20 > For example, i have eth0 (10.0.0.100) and eth1 (10.0.0.101) and would=20 > like to have the traffic going on the "wire", not just taking the=20 > "shortcut" inside the protocol stack. >=20 > I have played around a little bit with the routing table, but did not=20 > succeed. >=20 > Does Linux and/or the associated network tools support such strange=20 > requirements and if yes how to i setup the routing table? >=20 > TIA >=20 > Dave >=20 > _______________________________________________ > LARTC mailing list / LARTC@mailman.ds9a.nl > http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/ >=20 --=20 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/