When using Windows filesharing, it's usually a good idea to disable DHCP so that the IP always points to the correct computer.