These machines are on the same subnet, so that means the IP addresses should be very close, perhaps only differing in the last octet?
The subnet mask is appropriate, perhaps as 255.255.255.0 for a subnet with machine addresses as described above?
Okay, the IP addresses and subnet mask are OK? Then on each machine, ping 127.0.0.1 which should be pinging itself. Each machine should ping successfully, if not, the problem is on the machine.
If they both ping right, yet cant ping each other, look at teh transport. Make sure they are using the SAME frame type... If they are not, they cant talk at all...
Good luck