Re: Communication between eth0 and eth1 over the cable

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

 



[ Sorry for late answer ]

On Mon, May 14, 2007 at 09:34:50AM +0200, torbjorn@xxxxxxxxxxxxxxxxxxxxxxx wrote:
> 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.

If you didn't find it already there is patch called "Send-To-Self (loop)"
at http://www.ssi.bg/~ja/ made by Julian Anastasov for such purposes.

-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
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