routing question: Kernel being too helpful

Dave Gilbert (gilbertd@treblig.org)
Thu, 19 Apr 2001 12:33:36 +0100 (BST)


Hi,
I'm trying to set up a PC with two (gig)ether cards as a test system in
which a router/firewall/what have you/ could be inserted between the two
ether cards. Then I want to send various lumps of test traffic between
the two.

Unfortunatly Linux is being a little too helpful - whatever the routing
tables are set as, any packets intended for one card just hops over
internally and doesn't actually go over the wire.

Two machines were originally going to be used but due to physical space
constraints that has had to be given up.

Where is the short-circuit routing done which does this? (I understand it
is good and normal behaviour - I just want to turn it off).

Thanks in advance,

Dave

-- 
 ---------------- Have a happy GNU millennium! ----------------------   
/ Dr. David Alan Gilbert      | Running GNU/Linux on Alpha, | Happy  \ 
\   gro.gilbert @ treblig.org | 68K,MIPS,x86,ARM and SPARC  | In Hex /
 \ ___________________________|___ http://www.treblig.org   |_______/

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/