From: Amit Kucheria <amitk@ittc.ku.edu>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] How to make "external loopback" with 2 interfaces
Date: Wed, 05 Jun 2002 10:23:13 +0000 [thread overview]
Message-ID: <marc-lartc-102327267230684@msgid-missing> (raw)
In-Reply-To: <marc-lartc-102327219930328@msgid-missing>
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/
prev parent reply other threads:[~2002-06-05 10:23 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
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 message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=marc-lartc-102327267230684@msgid-missing \
--to=amitk@ittc.ku.edu \
--cc=lartc@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.