Re: disabling network card bypass

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

 



On Wed, 2003-07-09 at 06:48, Greg Rodgers wrote:
> We need to test two ethernet cards by sending packets between the two cards
> on the same system connected with a crossover cable.   It seems like the IP
> layer of Linux bypasses the hardware and routes back the packets destined
> to its own ip address.  That is, if I have 2 ethernet cards configued with
> 2 different ip addresses, and if i try to send a packet from one ipaddress
> to the other on same system, these packets never reach the 2 ethernet cards
> and are bypassed at the IP layer.  I would like to know if there is any way
> to disable this bypassing at IP layer as a configurable option.

short answer: No. This 'short-circuiting' is built into the routing
code. You would have to modify the kernel code to make it do what you
require.

> Thank you
> 
> Greg Rodgers
> rodgersg@us.ibm.com
> 
> PS.  My mom says it is not good to talk to oneself.
Your mom is right :)

-- 
----------------------------------------------------------------------
Amit Kucheria          akucheria@<NOSPAM>metricsystems.com
Metric Systems Corp.   2320 Cousteau Court, Suite 201, Vista, CA 92083
----------------------------------------------------------------------

-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux