On Mon, May 14, 2007 at 09:34:50AM +0200, [EMAIL PROTECTED] wrote:
> Dear linux-net readers,
> 
> Is it possible to have two network interfaces and communicate between them 
> trough the cable (I.E. not use the loopback device)?
> 
> Setup: eth0: 10.0.0.1, eth1: 10.0.0.2
> 
> ftp/http/ping/whatever 10.0.0.2 should go out of eth0 and be received on
> eth1 and visa versa.
> 
> I have tried the obvious with routing tables and forced route to 10.0.0.2
> trough eth0 etc, but Linux still takes the short cut trough the loopback
> interface, and it does not work if loopback is disabled.
> 
> The reason for doing so is to conduct a EMC/EMI test of a product: the Atmel
> Network Gateway, single board computer.
> 
> -
> To unsubscribe from this list: send the line "unsubscribe linux-net" in
> the body of a message to [EMAIL PROTECTED]
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

You could use raw sockets to bypass the routing code if you like, but it means
you'll have to assemble all of your network headers in user space on your own.

Regards
Neil

-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to