Re: [LARTC] How to make "external loopback" with 2 interfaces

Linux Advanced Routing and Traffic Control

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

 



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/

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