HI!
I give every student access to a Server 2019 Large (nested Virtualisation ) machine.
On this server 2019 I enabled the HYPER-V role and I am hosting multiple vm's on the "Lab VM", I am using advanced networking, routers, switches etc. works like a charm!
The largest puzzel is to setup 8 vm's on the limited disk :) Not sure how much resources you need.