The easiest way to connect two PCs is through a router. (Since it has a DHCP which will automatically assign the IPs for you). If you don't have a router then you might need a twisted network cable connecting two PCs and you will need to manually set the IP address of the two PCs to be in the same sub address (and even same workgroup).