To answer parts of your question: yes, it's possible to connect two computers with one cable (provided both computers have ethernet interfaces, but *all* modern computers have that). However, the cable needs to be a crossover cable (hold the cable in a very oblong U-shape (*not* an O-shape), and look at the plugs at the ends; iff the colored strips of one plug are in the opposite order of the strips on the other plug, it's a crossover cable).
To actually make the computers talk, you need the addressing set up. I'd suggest you give them static private addresses; on my debian box, I'd write the following in /etc/network/interfaces (try grep -r "iface.*lo.*inet loopback.*" /etc/* if red hat places it differently from debian):
Code:
auto lo
auto eth0
iface lo inet loopback
iface eth0 inet static
address 192.168.1.1
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.1.255
(assuming you connect the boxes via eth0). Put the same file on the other host, but with 192.168.1.1 replaced by 192.168.1.2. Now, try pinging 192.168.1.1 from 192.168.1.2 and vice versa. You may also want to find out what /etc/hosts does.