If you want only to communicate them with each other, you don't need anything else, just put them into same VLAN. If you want to use routing and route them outside to the internet, I recommend to use RRAS role on the Hyper-V host. Specially, if you get into AD networking, DHCP, DNS, and NAT, you need RRAS server.
Hyper-V Networking
If I have multiple VMs in my Hyper-V environment , each with a different IP Address in a different subnet, do I need additional routing software to get them all communicating?
Do they all need their own virtual switch?
Reading conflicting information about this....some articles mention needing one vswitch regardless of VM IPs, others say multiple switches. And I cant get a definitive on routing...
2 answers
Sort by: Most helpful
-
Pavel yannara Mirochnitchenko 12,576 Reputation points MVP
2021-05-17T13:46:54.41+00:00 -
Yuhan Deng 3,766 Reputation points Microsoft Vendor
2021-05-18T01:49:39.117+00:00 Hi,
Hope this will help:
https://learn.microsoft.com/en-us/windows-server/virtualization/hyper-v/plan/plan-hyper-v-networking-in-windows-serverThanks for your time.
Best regards,
Danny-----------------------------
If the Answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.