If you connect your Macmini direcly on the Macpro and you follow what I have suggest you to do, your Macpro will be on the same network than your router (usaly it is 192.168.xx.xx), and your Macmini will be on a different network number
This is what is happening when I connect my two Macpro