inconsistent ip resolution
i recently inherited a position as lab administrator in a setup where there are several machines running Mandrake 9.2, all of which mount user drives with NIS from the main server for our department (math/cs), which also runs linux, although i'm not sure which distro (redhat, i think).
the machines in the lab can all ssh to the main server fine, and vice versa. however, they weren't doing ssh between one another. i now realize that they are getting different ip addresses (the wrong ones), for one another, as indicated through ping. i checked the /etc/resolv.conf file on the main server, and the lab machines all use that server (some also had others listed, which i've disabled for the time being). however, they still get bogus ip addresses for the other lab machines.
the incorrect ip addresses are in the ip range allocated to the university that i attend, so i wonder if the host names aren't specifically set to those ips somewhere that overrides the name server. does anyone know what might be causing this and which files i need to address in order to resolve it? thanks in advance.