want to loopback test 2 lan ports
by devsda - 6/11/07 6:04 PM
On my rhel4 box, I want to send traffic out one ethernet port and into another ethernet port on the same machine via a loopback ethernet cable connected between the two ports. Not just pinging, but looping files or some kind of data through the cable, as a test.
Its actually more of a test of the cable I'm using to see if it emits excessive RFI when data is on it. Anyone know a some commands or program that can do it? What would the ifcfg-ethx config files need to be set up with. I tried netcat and a perl script but didn't have much success. It's easy to scp files out a port to another machine, but seems to be hard to do it on a line that loops back to the same machine.