It depends on how the network is set up, but typically you will need a license for each VM.
Best regards, Vlado