check if client and servers are in the same network