Set each computer to automatically obtain an ip address from the gateway, and then in the router make sure that tht DHCP service is turned on and had enough addresses. If your router gateway is 192.16.1.1, allow its DHCP range be something like 192.168.1.2 to 192.168.1.60.