You have two choices for the 2nd computer. Both will have identical media filenames:
1) Stand-alone installation pointing to the NAS media (per @JKauff) and using its own local Library.
or
2) Client-server model (per @JimH): the first computer is set up as a network server and the second connects to it as a client. Both see the NAS media, but the second via MC's built-in remote server control and hence it uses the server's Library.
Each has its pros and cons. Which one is best for you depends on your requirements. Note the second computer can switch between these modes by loading the corresponding saved "Library" under
Tree > Playing Now > Playing from.
In both cases, the 2nd computer's
Tabbed Views are its own. There are various ways of synchronizing the
Views between computers. See for example the recent discussion (though the thread title is a little misleading):
https://yabb.jriver.com/interact/index.php/topic,138782.0.html