@Rajesh
I understand you are wishing to connect to a VM via its MAC address. This is not possible as MAC addresses are layer 2 connectivity and do not route over the internet. If you wish to connect to your VM you will need to do so either with its IP address or hostname.
Resources:
Connect to Windows VM
Connect to Linux VM
OSI model
Hope this helps. Let me know if you have further questions or issues.
-------------------------------
Please don’t forget to "Accept the answer" and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.