As long as both machines exchanging the shared files have the ip address of the interface they are connected to set as thier default gateway you will not have to modify your settings at all. You will have to manually navigate to the share via IP address.