If you have just 2 computers, a cross-over cable would do just fine. If there are more than 2 computers you will need a switch.
Second point: you need to set up ips for your computers. If you have firewalls, you will need to specify rules for allowing trafic between computers.