To specify which network render slave machines a master uses, mental ray for Maya and mental ray standalone use different configuration files:
mental ray for Maya and mental ray for Maya Satellite look for maya.rayhosts in the following directories:
To configure maya.rayhosts files, see Set up a master machine with mental ray standalone (method 2)
mental ray for Maya looks for (maya.)rayrc in the following directories:
maya.rayrc is installed with mental ray and additional configuration is generally not required.