The bottom line is that we'll need a VALID IP PLAN. I do not teach TCIP here since that's in the text books and the internet. Also you are likely be paid and this is all volunteer. Now the ground rules are set let's get to it.
Since we can't use 2 IP's in the same subnet we know that with the commnon NETMASK of 255.255.255.0 we'll do something like...
Ether 1 = 10.0.1.10
Ether 2 = 10.0.2.10
Now if we did that proper and enabled FTP servers on each connection (again I will not describe common Linux components or how to configure them) we could FTP files back and forth with a simple script.
I don't offer the script either. You could write it and toss it up for review to see why it didn't work.
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.