Connecting to Domain from different subnet
Solution 1:
Your question is kind of all over the place and you're clearly missing some fundamentals.
255.255.0.0 and 255.255.255.0 are not subnets, they are subnet masks and are used to calculate what bits of your IP address identifies the NETWORK and what bits identify the HOST.
Example:
IP:192.168.0.1 MASK: 255.255.255.0
In this case the NETWORK(SUBNET) is 192.168.0.0, with usable addresses between 192.168.0.1 through 192.168.0.254. What this means is that a router is not required for these devices to communicate on the same physical network. If however your machine is on a different network entirely let's say 192.168.2.X then a router is required to route packets between these two networks.
So, to get to the point here, you should use the same subnet mask for all your devices, unless you're intending to segment them into seperate networks, and even then the subnet MASK will probably be the same, it's the IP addresses that will change.