nmap -sS -O ip#
will show the servername, so if both ip#s display the same server name usually it means they are on the same server.
You can also do a security check with that command to make sure you dont have any open ports that aren't suppose to be open.
security 101
