linux: disable using loopback and send data via wire between 2 eth cards of one comp
Posted
by osgx
on Stack Overflow
See other posts from Stack Overflow
or by osgx
Published on 2010-04-29T01:02:50Z
Indexed on
2010/04/29
1:07 UTC
Read the original article
Hit count: 473
Hello
I have a comp with 2 eth cards, connected with patch-cord (direct eth. cable from 1st to 2nd).
The linux is installed, I want to send data from 1st network card to 2nd. And I want to force the packet to pass via cable. I can set up any ip on cards.
With ping I get counters on cards constant.
Is it possible with tcp/ip sockets?
PS. I need to write a program. which will send packets via eth, so stackoverflow-related question. There can be some OS-dependent way, they will help me too
© Stack Overflow or respective owner